• 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: Wed, 11 Mar 2009 12:59:10 -0400


On Mar 11, 2009, at 12:46 PM, David Avendasora wrote:

Hi all,

I've run into something that I haven't been able to find documented anywhere, but does seem to fit with other Cross-Model relationship issues (http://lists.apple.com/archives/Webobjects-dev/2008/Dec/msg00058.html ).

If you have a cross-model relationship, you can't prefetch the relationship when constructing an EOFetchSpecification. It will simply return null, or an empty NSArray if it is a to-many relationship. Subsequent calls to the relationship simply return null or the empty NSArray.

I should clarify. The FS returns an NSArray of EOs as you'd expect, but each of those EO's prefetched cross-model relationship is null or an empty NSArray.


Is this the expected behavior? It seems logical, but unexpected to me (Yes, those two concepts can coexist simultaneously in my brain).

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



_______________________________________________ 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
References: 
 >EOFetchSpecification prefetching and Multiple EOModels (From: David Avendasora <email@hidden>)

  • Prev by Date: EOFetchSpecification prefetching and Multiple EOModels
  • Next by Date: Re: WebObjects Installer CD for Windows
  • Previous by thread: EOFetchSpecification prefetching and Multiple EOModels
  • Next by thread: Re: EOFetchSpecification prefetching and Multiple EOModels
  • Index(es):
    • Date
    • Thread