You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jdo-dev@db.apache.org by "Craig Russell (JIRA)" <ji...@apache.org> on 2006/01/13 03:32:20 UTC

[jira] Updated: (JDO-276) TCK maps BigInteger to BIGINT; should be NUMERIC(31)

     [ http://issues.apache.org/jira/browse/JDO-276?page=all ]

Craig Russell updated JDO-276:
------------------------------

    Attachment: biginteger.patch

This patch changes the schma.sql scripts. The columns mapped to BigDecimal fields are changed from BIGINT to NUMERIC(31). It also changes values for some of the fields to numbers greater than 2^64 in order to test that the values greater than Long values can be stored.


> TCK maps BigInteger to BIGINT; should be NUMERIC(31)
> ----------------------------------------------------
>
>          Key: JDO-276
>          URL: http://issues.apache.org/jira/browse/JDO-276
>      Project: JDO
>         Type: Bug
>   Components: tck20
>     Reporter: Craig Russell
>     Assignee: Craig Russell
>     Priority: Minor
>      Fix For: JDO 2 beta
>  Attachments: biginteger.patch
>
> The TCK maps values of fields of type BigInteger to Derby column type BIGINT which is actually 64 bit fixed precision (Java long). The BigInteger type should map to NUMERIC(31) that provides more than 64 bits of precision.

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