Return-Path: Delivered-To: apmail-db-jdo-dev-archive@www.apache.org Received: (qmail 79958 invoked from network); 22 Apr 2006 20:02:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 22 Apr 2006 20:02:13 -0000 Received: (qmail 15757 invoked by uid 500); 22 Apr 2006 20:02:12 -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 15746 invoked by uid 99); 22 Apr 2006 20:02:12 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 22 Apr 2006 13:02:12 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 22 Apr 2006 13:02:12 -0700 Received: from brutus (localhost.localdomain [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 9BD527142BF for ; Sat, 22 Apr 2006 20:01:06 +0000 (GMT) Message-ID: <14899391.1145736066635.JavaMail.jira@brutus> Date: Sat, 22 Apr 2006 20:01:06 +0000 (GMT+00:00) From: "Michael Bouschen (JIRA)" To: jdo-dev@db.apache.org Subject: [jira] Closed: (JDO-110) Change mapping of char fields 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-110?page=all ] Michael Bouschen closed JDO-110: -------------------------------- Fix Version: JDO 2 beta Resolution: Fixed > Change mapping of char fields > ----------------------------- > > Key: JDO-110 > URL: http://issues.apache.org/jira/browse/JDO-110 > Project: JDO > Type: Bug > Components: tck20 > Reporter: Michael Watzek > Assignee: Michael Watzek > Fix For: JDO 2 beta > > The mapping of character fields in pc classes "PCPointSingleFieldPrimitiveChar", "PCPointSingleFieldCharacter", "FieldsOfCharacter", "AllTypes" needs to be changed from CHAR(1) to INTEGER. > The rationale is that instances of those classes have character values which are initialized based on numerical values rather than character values, e.g. "Character.MAX_VALUE", "Character.MIN_VALUE", or "System.currentTimeMillis()%Character.MAX_VALUE". > For this reason, we decided to adapt the ORM metadata rather than to adapt the schema: elements corresponding to fields of type "char" or "java.lang.Character" will have "jdbc-type" attributes, e.g. > > > > > ... > -- 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