From jdo-dev-return-8809-apmail-db-jdo-dev-archive=www.apache.org@db.apache.org Fri Oct 22 16:39:43 2010 Return-Path: Delivered-To: apmail-db-jdo-dev-archive@www.apache.org Received: (qmail 32189 invoked from network); 22 Oct 2010 16:39:43 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 22 Oct 2010 16:39:43 -0000 Received: (qmail 23783 invoked by uid 500); 22 Oct 2010 16:39: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 23775 invoked by uid 99); 22 Oct 2010 16:39:42 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Oct 2010 16:39:42 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Oct 2010 16:39:39 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o9MGdIMe011921 for ; Fri, 22 Oct 2010 16:39:18 GMT Message-ID: <14609892.28151287765558485.JavaMail.jira@thor> Date: Fri, 22 Oct 2010 12:39:18 -0400 (EDT) From: "Michael Bouschen (JIRA)" To: jdo-dev@db.apache.org Subject: [jira] Assigned: (JDO-660) Ability to specify positioning of field 'column(s)' in datastore "table" In-Reply-To: <7644923.18201276151773806.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/JDO-660?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Bouschen reassigned JDO-660: ------------------------------------ Assignee: Craig L Russell The specification need to be updated. > Ability to specify positioning of field 'column(s)' in datastore "table" > ------------------------------------------------------------------------ > > Key: JDO-660 > URL: https://issues.apache.org/jira/browse/JDO-660 > Project: JDO > Issue Type: New Feature > Components: api, specification, tck > Reporter: Andy Jefferson > Assignee: Craig L Russell > Fix For: JDO 3 maintenance release 1 > > Attachments: column_position.patch > > > With an RDBMS datastore, when generating the schema, it is desirable to be able to specify the positioning of the column(s) of a field in the generated table. > With spreadsheet documents, it is critical to be able to define which column number is used for a particular field. > With other datastores it is also likely desirable. > To achieve this I propose adding an attribute to the XML called "position". Similarly for the @Column annotation. > This can take integer values with 0-origin. > Complications : > 1. how this is handled when we have inheritance. If a root class has subclass-table inheritance, then those fields are persisted into the tables of all subclasses, and we may want to override the positions for those individually - to that end the user can override the metadata of the superclass fields. > 2. anything else ? -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.