Re: Fetching from related object
Re: Fetching from related object
- Subject: Re: Fetching from related object
- From: Arturo Pérez <email@hidden>
- Date: Fri, 23 Apr 2004 23:02:37 -0400
On Apr 23, 2004, at 10:57 PM, Anjo Krank wrote:
Am 24.04.2004 um 03:28 schrieb Arturo Pirez:
Notice that there is no fetch specification involved. EOF takes care
of it all for you. The SELECT, the join the whole nine yards. Now
it's obvious why this is the easiest way to get the Log objects. Why
is this the best performing? Because EOF will cache the results of
that relationship traversal and never perform that underlying SELECT
again.
One should be aware, though, that to *do* re-fetch the relationship
(because it changed in the DB or whatever reason) one has to use less
than obvious code to clear out the relationship....
Correct. Hence the link to WODev.
http://wodev.spearway.com/cgi-bin/WebObjects/WODev
----
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.