db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Fischer (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (TORQUE-6) Generator does not generate foreign key constraints for Interbase/Firebird
Date Wed, 31 May 2006 20:04:31 GMT
     [ 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:
For more information on JIRA, see:

To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org

View raw message