Return-Path: X-Original-To: apmail-db-torque-dev-archive@www.apache.org Delivered-To: apmail-db-torque-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id F11CC454C for ; Thu, 23 Jun 2011 08:32:19 +0000 (UTC) Received: (qmail 97133 invoked by uid 500); 23 Jun 2011 08:32:19 -0000 Delivered-To: apmail-db-torque-dev-archive@db.apache.org Received: (qmail 96946 invoked by uid 500); 23 Jun 2011 08:32:13 -0000 Mailing-List: contact torque-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Apache Torque Developers List" Reply-To: "Apache Torque Developers List" Delivered-To: mailing list torque-dev@db.apache.org Received: (qmail 96914 invoked by uid 99); 23 Jun 2011 08:32:10 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Jun 2011 08:32:10 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Jun 2011 08:32:08 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 923CC42A43B for ; Thu, 23 Jun 2011 08:31:47 +0000 (UTC) Date: Thu, 23 Jun 2011 08:31:47 +0000 (UTC) From: "Thomas Fox (JIRA)" To: torque-dev@db.apache.org Message-ID: <1125580112.32572.1308817907595.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Resolved] (TORQUE-128) remove autoIncrement attribute of column element 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/TORQUE-128?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Thomas Fox resolved TORQUE-128. ------------------------------- Resolution: Won't Fix Left as is for backwards compatibility > remove autoIncrement attribute of column element > ------------------------------------------------ > > Key: TORQUE-128 > URL: https://issues.apache.org/jira/browse/TORQUE-128 > Project: Torque > Issue Type: Sub-task > Affects Versions: 4.0 > Reporter: Thomas Fox > Fix For: 4.0 > > > In the 3.3 schema, the id method for a column is determined by the idMethod attribute of the table, the defaultIdMethod attribute of the database and the primaryKey attribute of the column. This is sufficient for determining the idMethod. > However, in the 3.3 schema, there is still the autoIncrement attribute which kind of overrides the settings outlined above. There is no such equivalent for sequence generation, thus the attribute is bad for database interoperability. > Therefore I'd suggest to remove this attribute with no replacement. The consequence would be that it would no longer be possible to have auto_increment on columns which are no primary key (but again, torque supports no such feature for sequence generation). -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org For additional commands, e-mail: torque-dev-help@db.apache.org