You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafodion.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/12/05 06:56:58 UTC
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=15721425#comment-15721425 ]
ASF GitHub Bot commented on TRAFODION-2374:
-------------------------------------------
Github user asfgit closed the pull request at:
https://github.com/apache/incubator-trafodion/pull/857
> 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.4#6332)