db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Philip Reimann <reim...@synyx.de>
Subject Re: Duplicate references in the foreign-key
Date Fri, 07 Mar 2008 10:02:44 GMT
There's no chance to use version 3.2-rc2 for this demand. The
torque-generator wont create correct files.
You have to use version 3.2-rc3 (or higher) to set two foreign keys from
one table to one other table.

Greetings Philip

Jim schrieb:
> Hi,
> I started running into a duplicate reference in the
> foreign-key issue several months ago in the ant
> generated schema.xml file. 
> We are still using the 3.2 rc2 version of Torque and
> the tables are DB2.
> 
> Here is an example of the dup reference..
> <foreign-key foreignTable="TABLE2">
>    <reference foreign="OFFRG_N" local="OFFRG_N"/>
>    <reference foreign="OFFRG_N" local="OFFRG_N"/>
> </foreign-key>
> 
> Here is a portion the table that has the forigh-key..
> <table name="TABLE2">
>         <column name="OFFRG_N" primaryKey="true"
> required="true" size="12" type="CHAR"/>
> 
> The dba's swear there have been no changes to the DB2
> tables. 
> 
> Thanks for any suggestions!
> Jim
> 
> 
>       ____________________________________________________________________________________
> Be a better friend, newshound, and 
> know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ

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

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


Mime
View raw message