Inserting BigDecimal value in PreparedStatement into double column loses
fractional digits
------------------------------------------------------------------------------------------
Key: DERBY-2073
URL: http://issues.apache.org/jira/browse/DERBY-2073
Project: Derby
Issue Type: Bug
Components: JDBC
Affects Versions: 10.1.2.1
Environment: windows xp
Reporter: Lukasz P
Attachments: BigDecimalProblemTester.java
Create table with column of type double.
Create a prepared statement which inserts value to this column.
use preparedStatement#setBigDecimal method of the statement to set value of the
column.
Execution of such statement succeeds, but actual value in db has no fractional
digits.
You can use attached test class to reproduce this problem
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira