Solution: Set idMethod="none" in the referenced table ----- Original Message -----
From: "Zeev Halevi" <[EMAIL PROTECTED]> To: "Apache Torque Users List" <torque-user@db.apache.org> Sent: Friday, September 16, 2005 9:03 PM Subject: Referencing using not the ID field but rather a regular data field > Greetings all, > > Probably a stupid question but I can't figure it myself, > I usually reference other tables/Objects using the ID fields. > I have a table that I want to reference (define FK in other table) using one > of the data fields (Integer). > How do I define it in the schema.xml ? > > Thanks, > Zeev > > > > --------------------------------------------------------------------- > 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]