You can add the foreign key definition in the schema. Look at the
element:reference in
http://jakarta.apache.org/turbine/torque/schema-reference.html
I think it would work just by creating the join in the criteria but if you
add the reference
it will add some methods that would make it easier and it will create the
foreign key definitions
in the .sql that creates the tables.
--
Humberto
-----Original Message-----
From: Eigen Technology Pty Ltd [mailto:michael@eigentechnology.com]
Sent: Monday, January 20, 2003 1:00 AM
To: turbine-torque-user@jakarta.apache.org
Subject: Re: Foreign Key
Thanks,
|