db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Humberto Hernandez Torres <hhernan...@itweb.com.mx>
Subject RE: Foreign Key
Date Mon, 20 Jan 2003 15:42:41 GMT
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,

Mime
View raw message