If your table OBJ has a foreign key into table A, torgue will generate
A.getObjs() that returns a list of OBJs whose foreign key equals the primary
key of the A being called from.

Regards,
Daniel

-----Original Message-----
From: Rob Gordon [mailto:[EMAIL PROTECTED]
Sent: Monday, April 19, 2004 6:56 AM
To: Apache Torque Users List
Subject: one-many object mappings

Hi--

Anyone have any experience with one-many mappings in schema?
Is it possible?  Basically, I want  something like getBasedOnForeignKey
to return a List, not a single object.

Rob



---------------------------------------------------------------------
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]

Reply via email to