Re: Whats the recommended way for cross-object information inquiry?
Re: Whats the recommended way for cross-object information inquiry?
- Subject: Re: Whats the recommended way for cross-object information inquiry?
- From: Arturo PĂ©rez <email@hidden>
- Date: Tue, 9 Mar 2004 16:26:23 -0500
On Mar 9, 2004, at 3:46 PM, Magnus Rembold wrote:
Dear List,
Now... what is the recommended way of doing this? Object traversal and
compiling the list for yourself or raw SQL and converting the results?
Or is there a third much more WO-design-like manner for solving this?
Your comments, hints and help are very welcome. As always. ;-)
An alternative is a fetch specification in your eomodel. That's what
I've always done and it works
fine. The only issue there is since fetchSpecs are tied to entities
you'd have to figure out which
entity is the most appropriate.
This avoids the SQL in the java problem while still permitting hand
crafted SQL.
----
WO in philadelphia - wanna cheesesteak with that?
Please visit webobjects.meetup.com.
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.