[teiid-issues] [JBoss JIRA] Resolved: (TEIID-1314) BigDecimal values truncated with jConnect 6.05

Steven Hawkins (JIRA) jira-events at lists.jboss.org
Thu Oct 21 14:49:54 EDT 2010


     [ https://jira.jboss.org/browse/TEIID-1314?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steven Hawkins resolved TEIID-1314.
-----------------------------------

    Resolution: Done


Updated the bindVariable logic to use setBigDeciaml instead.

> BigDecimal values truncated with jConnect 6.05
> ----------------------------------------------
>
>                 Key: TEIID-1314
>                 URL: https://jira.jboss.org/browse/TEIID-1314
>             Project: Teiid
>          Issue Type: Thirdparty Change
>          Components: JDBC Connector
>    Affects Versions: 7.1
>            Reporter: Steven Hawkins
>            Assignee: Steven Hawkins
>             Fix For: 7.1.1
>
>
> the setObject(pos, val, type) method appears to be calling setObject(pos, val, type, 0) where 0 is being picked up as the scale.   This is causing BigDecimal values to be truncated.  If we change the set method to setBigDecimal, then everything is fine and should work on the other driver types as well.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the teiid-issues mailing list