Return-Path: Delivered-To: apmail-db-torque-dev-archive@db.apache.org Received: (qmail 16552 invoked by uid 500); 1 Aug 2003 08:24:58 -0000 Mailing-List: contact torque-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: 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 16541 invoked by uid 500); 1 Aug 2003 08:24:58 -0000 Received: (qmail 16538 invoked from network); 1 Aug 2003 08:24:58 -0000 Received: from unknown (HELO minotaur.apache.org) (209.237.227.194) by daedalus.apache.org with SMTP; 1 Aug 2003 08:24:58 -0000 Received: (qmail 91850 invoked by uid 1280); 1 Aug 2003 08:25:22 -0000 Date: 1 Aug 2003 08:25:22 -0000 Message-ID: <20030801082522.91849.qmail@minotaur.apache.org> From: mpoeschl@apache.org To: db-torque-cvs@apache.org Subject: cvs commit: db-torque/src/generator/src/templates/sql/base/mysql columns.vm X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N mpoeschl 2003/08/01 01:25:22 Modified: src/generator/src/templates/sql/base/mysql columns.vm Log: the handling of the idMethod is done by the model, so we don't have to check it in the template too Revision Changes Path 1.2 +1 -1 db-torque/src/generator/src/templates/sql/base/mysql/columns.vm Index: columns.vm =================================================================== RCS file: /home/cvs/db-torque/src/generator/src/templates/sql/base/mysql/columns.vm,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- columns.vm 10 Feb 2003 13:18:49 -0000 1.1 +++ columns.vm 1 Aug 2003 08:25:22 -0000 1.2 @@ -4,7 +4,7 @@ #set ( $default = $col.DefaultSetting ) #set ( $nullString = $strings.select($col.isNotNull(), $dbprops.get("NOTNULL"),"") ) #set ( $autoIncrement = $strings.select($col.isAutoIncrement(), $dbprops.get("AUTOINCREMENT"),"") ) - #if ((($database.getDefaultIdMethod() == "native") && ($table.getIdMethod() == "")) || ($table.getIdMethod() == "native")) + #if ($table.getIdMethod() == "native") #if ($col.isPrimaryKey() && ($col.Type == "INTEGER")) #set ( $autoIncrement = $dbprops.get("AUTOINCREMENT")) #end --------------------------------------------------------------------- To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org For additional commands, e-mail: torque-dev-help@db.apache.org