db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Vandahl (JIRA)" <j...@apache.org>
Subject [jira] Closed: (TORQUE-6) Generator does not generate foreign key constraints for Interbase/Firebird
Date Sun, 26 Nov 2006 18:24:32 GMT
     [ http://issues.apache.org/jira/browse/TORQUE-6?page=all ]

Thomas Vandahl closed TORQUE-6.
-------------------------------


> Generator does not generate foreign key constraints for Interbase/Firebird
> --------------------------------------------------------------------------
>
>                 Key: TORQUE-6
>                 URL: http://issues.apache.org/jira/browse/TORQUE-6
>             Project: Torque
>          Issue Type: Bug
>          Components: Generator
>    Affects Versions: 3.2
>            Reporter: Joerg Friedrich
>         Assigned To: Thomas Fischer
>             Fix For: 3.3
>
>
> 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


Mime
View raw message