Return-Path: Delivered-To: apmail-db-jdo-dev-archive@www.apache.org Received: (qmail 50138 invoked from network); 13 Jan 2006 02:32:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 13 Jan 2006 02:32:42 -0000 Received: (qmail 7571 invoked by uid 500); 13 Jan 2006 02:32:42 -0000 Mailing-List: contact jdo-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jdo-dev@db.apache.org Delivered-To: mailing list jdo-dev@db.apache.org Received: (qmail 7560 invoked by uid 99); 13 Jan 2006 02:32:42 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Jan 2006 18:32:41 -0800 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id B586B18C for ; Fri, 13 Jan 2006 03:32:20 +0100 (CET) Message-ID: <634367118.1137119540741.JavaMail.jira@ajax.apache.org> Date: Fri, 13 Jan 2006 03:32:20 +0100 (CET) From: "Craig Russell (JIRA)" To: jdo-dev@db.apache.org Subject: [jira] Updated: (JDO-276) TCK maps BigInteger to BIGINT; should be NUMERIC(31) In-Reply-To: <868207521.1137118400239.JavaMail.jira@ajax.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ 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