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: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
