Hi --
Here's how I did it...

List records = XXXPeer.executeQuery("select * from table where yyy);
List objects = XXXPeer.populateObjects(records);
Now the objects list has your data objects.

If this isn't what you wanted, sorry.
Andy

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