Re: Fetching from related object
Re: Fetching from related object
- Subject: Re: Fetching from related object
- From: Anjo Krank <email@hidden>
- Date: Sat, 24 Apr 2004 04:57:39 +0200
- Xx-reply-to: email@hidden
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....
Cheers, Anjo
_______________________________________________
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.