[ 
https://issues.apache.org/jira/browse/DERBY-3126?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12534855
 ] 

Knut Anders Hatlen commented on DERBY-3126:
-------------------------------------------

Thanks Kathey. I think the patch looks good. Do you know whether the problem 
with encoding BigDecimals with negative scale is a limitation in the DRDA 
protocol or a problem with our implementation?

One last nit... There's still a tab in NetStatementRequest:

 public class NetStatementRequest extends NetPackageRequest implements 
StatementRequestInterface {
-    java.util.ArrayList extdtaPositions_ = null; // Integers: build EXTDTA for 
column i
+    
+       java.util.ArrayList extdtaPositions_ = null; // Integers: build EXTDTA 
for column i

> 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.

Reply via email to