[
https://issues.apache.org/jira/browse/DERBY-3126?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12534867
]
Daniel John Debrunner commented on DERBY-3126:
----------------------------------------------
I think that SQL does not have the concept of a negative scale, thus DRDA does
not either. I think conversion to the same value with zero scale is the correct
behaviour for SQL.
> Inserting BigDecimal value in PreparedStatement with setBigDecimal into
> double column loses fractional digits
> -------------------------------------------------------------------------------------------------------------
>
> Key: DERBY-3126
> URL: https://issues.apache.org/jira/browse/DERBY-3126
> Project: Derby
> Issue Type: Sub-task
> Components: JDBC, Network Client
> Reporter: Kathey Marsden
> Attachments: derby-2073_diff.txt, derby-2073_diff.txt,
> derby-2073_diff.txt, derby-2073_stat.txt, derby-2073_stat.txt
>
>
> Splitting this issue into two subtasks one for setBigDecimal and one for
> setObject as they take a different code path and I plan to submit separate
> patches. Reproduces with BigDecimalProblemTester attached to DERBY-2073
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.