-
Notifications
You must be signed in to change notification settings - Fork 3.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Oracle: FLOAT not handled correctly in view and save #2104
Comments
Additional info: INSERT INTO mytable(price, productname)
VALUES(444.1234567890123456789, 'Insert Test'); So it seems to be a GUI issue. Using SQL statements could be used as workaround. |
Thanks for your reply! I didn't know about these display settings. But unfortunately it does not explain/solve my problem. The default setting for "max fraction digits" is 10 in my global settings (I do not use connection specific display settings), but in the end my FLOAT value was truncated to 5 fraction digits ( Explicitly setting "max fraction digits" to 20 did not change this behaviour: Please note that the fraction digits are not just truncated/rounded, but changed:
So I still guess, there is some bug in this process. |
Thanks for details. It is a bug in big decimal values binding. Will be fixed in the next version. |
You are great! Thanks for the quick fixing. :) |
In an Oracle database, I have a table with column defined as
FLOAT
:(Defining no explicit precision for
price
should give me the default precision of 126.)I add a new row with data:
321,1234567890123456789
Problem 1: After closing the inline edit with Enter, the price value changes to
321,1234436035
!Problem 2: I commit this change with the "Save" button and refresh the tables view. Now the price value changed to
321,12344
!The same process works fine using Oracle SQL Developer, so I guess it is not a problem of my database setup, but with DBeaver handling FLOATs.
Problem 3: Inserting a price value of
321,1234567890123456789
in Oracle SQL Developer is shown as321,123456789
in DBeaver. But copying this value to the clipboard pastes321.1234567890123456789
in my texteditor.This FLOAT should be displayed as
321,123456789...
(with dots at the end), to indicate that there are more digits, which are just not shown.If I enlarge the column width, more digits could be shown. At the moment, DBeaver sticks with 9 digits after the decimal separator whatever I change the columnwidth to.
I am using DBeaver 4.1.3, which is a great peace of software! Thanks a lot for developing it.
The text was updated successfully, but these errors were encountered: