Re: EOFetchSpecification prefetching and Multiple EOModels
Re: EOFetchSpecification prefetching and Multiple EOModels
- Subject: Re: EOFetchSpecification prefetching and Multiple EOModels
- From: David Avendasora <email@hidden>
- Date: Thu, 12 Mar 2009 06:39:18 -0400
Hi Travis,
On Mar 11, 2009, at 2:43 PM, Travis Britt wrote:
On Mar 11, 2009, at 1:37 PM, David Avendasora wrote:
Am I the first to ever prefetch a cross-model relationship?
Nope! I also confirmed this behavior about a year ago between two
Oracle databases. If you don't prefetch on those keypaths the EOs do
get faulted in properly, albeit one at a time. I was able to work
around it at the time by doing a 2nd explicit fetch for the
relationship.
Yep. My experience, exactly.
I got as far as hooking up a EODatabaseContext subclass so I could
monitor what happens in EODatabaseContext.batchFetchRelationship(),
but by the time that is called it appeared that EOF believes the
fault had already been fired and is empty.
Did you happen to file a bug with Apple? I'd like to add it to mine so
that it might have a better chance of getting fixed.
Dave
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden