db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Whitaker, Andy" <Andy_Whita...@Intuit.com>
Subject RE: one-many object mappings
Date Mon, 19 Apr 2004 15:39:33 GMT
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:rgordon@mwt.net]
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: torque-user-unsubscribe@db.apache.org
For additional commands, e-mail: torque-user-help@db.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
For additional commands, e-mail: torque-user-help@db.apache.org


Mime
View raw message