Return-Path: Delivered-To: apmail-db-torque-dev-archive@www.apache.org Received: (qmail 87412 invoked from network); 31 May 2006 20:05:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 31 May 2006 20:05:23 -0000 Received: (qmail 82876 invoked by uid 500); 31 May 2006 20:05:23 -0000 Delivered-To: apmail-db-torque-dev-archive@db.apache.org Received: (qmail 82852 invoked by uid 500); 31 May 2006 20:05:23 -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 82827 invoked by uid 99); 31 May 2006 20:05:23 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 May 2006 13:05:23 -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; Wed, 31 May 2006 13:05:22 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 03D327141F3 for ; Wed, 31 May 2006 20:04:31 +0000 (GMT) Message-ID: <20870073.1149105871012.JavaMail.jira@brutus> Date: Wed, 31 May 2006 20:04:31 +0000 (GMT+00:00) From: "Thomas Fischer (JIRA)" To: torque-dev@db.apache.org Subject: [jira] Resolved: (TORQUE-6) Generator does not generate foreign key constraints for Interbase/Firebird In-Reply-To: <22230033.1145544845769.JavaMail.jira@brutus> 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/TORQUE-6?page=all ] Thomas Fischer resolved TORQUE-6: --------------------------------- Fix Version: 3.2.1 Resolution: Fixed Assign To: Thomas Fischer Fixed in SVN. I did not change the drop table statement. This behaviour is consistent thoughout Torque and should be solved by separating the drop table statements from the create table statements. > Generator does not generate foreign key constraints for Interbase/Firebird > -------------------------------------------------------------------------- > > Key: TORQUE-6 > URL: http://issues.apache.org/jira/browse/TORQUE-6 > Project: Torque > Type: Bug > Components: Generator > Versions: 3.2 > Reporter: Joerg Friedrich > Assignee: Thomas Fischer > Fix For: 3.2.1 > > The generator does not generate foreign key constraints for Interbase/Firebird. This could probably be easily fixed by adding a file foreignkey.vm to the sql/base/interbase directory in the templates jar (torque-gen-templates-3.2.jar) containing this: > #foreach ($fk in $table.ForeignKeys) > FOREIGN KEY ($fk.LocalColumnNames) REFERENCES $fk.ForeignTableName ($fk.ForeignColumnNames), > #end -- 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 --------------------------------------------------------------------- To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org For additional commands, e-mail: torque-dev-help@db.apache.org