[
https://issues.apache.org/jira/browse/DERBY-2073?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12522827
]
James F. Adams commented on DERBY-2073:
---------------------------------------
This problem appears to only occur with the client driver, the fractional
digits are retained when using the embedded driver.
> Inserting BigDecimal value in PreparedStatement into double column loses
> fractional digits
> ------------------------------------------------------------------------------------------
>
> Key: DERBY-2073
> URL: https://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.
-
You can reply to this email to add a comment to the issue online.