[
https://issues.apache.org/jira/browse/DERBY-3127?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kathey Marsden updated DERBY-3127:
----------------------------------
Attachment: BigDecimalProblemTester.java
There was an issue with my test program. With the patch for DERBY-3126 this
case is fixed as well. I will leave this open though until I add tests.
Attached is the new test program.
I was missing the DECIMAL argument in
pstmt.setObject(2, value,java.sql.Types.DECIMAL,2);
> Inserting BigDecimal value in PreparedStatement with setObject into double
> column loses fractional digits
> ----------------------------------------------------------------------------------------------------------
>
> Key: DERBY-3127
> URL: https://issues.apache.org/jira/browse/DERBY-3127
> Project: Derby
> Issue Type: Sub-task
> Components: JDBC, Network Client
> Reporter: Kathey Marsden
> Attachments: BigDecimalProblemTester.java,
> BigDecimalProblemTester.java
>
>
> Split DERBY-2073 into two issues. This one for setObject as it follows a
> different code path than setBigDecimal and I plan to submit two patches. See
> Attached BigDecimalProblemTester for repro with setObject.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.