• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: EOFetchSpecification prefetching and Multiple EOModels
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: EOFetchSpecification prefetching and Multiple EOModels
      • From: Travis Britt <email@hidden>
References: 
 >EOFetchSpecification prefetching and Multiple EOModels (From: David Avendasora <email@hidden>)
 >Re: EOFetchSpecification prefetching and Multiple EOModels (From: Chuck Hill <email@hidden>)
 >Re: EOFetchSpecification prefetching and Multiple EOModels (From: David Avendasora <email@hidden>)
 >Re: EOFetchSpecification prefetching and Multiple EOModels (From: Travis Britt <email@hidden>)

  • Prev by Date: Re: Jad?
  • Next by Date: Re: Getting a page content
  • Previous by thread: Re: EOFetchSpecification prefetching and Multiple EOModels
  • Next by thread: Re: EOFetchSpecification prefetching and Multiple EOModels
  • Index(es):
    • Date
    • Thread