You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafodion.apache.org by "mashengchen (JIRA)" <ji...@apache.org> on 2017/02/06 03:05:42 UTC
[jira] [Resolved] (TRAFODION-2374) insert data through jdbc while
column type is numeric will insert error data
[ https://issues.apache.org/jira/browse/TRAFODION-2374?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
mashengchen resolved TRAFODION-2374.
------------------------------------
Resolution: Fixed
> insert data through jdbc while column type is numeric will insert error data
> ----------------------------------------------------------------------------
>
> Key: TRAFODION-2374
> URL: https://issues.apache.org/jira/browse/TRAFODION-2374
> Project: Apache Trafodion
> Issue Type: Bug
> Reporter: mashengchen
> Assignee: mashengchen
>
> insert negative numeric (-1) through jdbc addbatch while the column type is numeric(20,0).
> eg : prepStmt.setBigDecimal(1, new BigDecimal(-1));
> the result is a strange number. seemingly a overflow
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)