• 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: Core data fetch returns no objects
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Core data fetch returns no objects


  • Subject: Re: Core data fetch returns no objects
  • From: Benjamin Stiglitz <email@hidden>
  • Date: Thu, 18 Sep 2008 09:45:34 -0400
  • Mail-followup-to: Benjamin Stiglitz <email@hidden>, email@hidden

On Thu, Sep 18, 2008 at 02:05:03PM +0200, Tomaž Kragelj wrote:
> If I use the same code for fetching immediately after adding the objects
> to the context, the fetching works... It looks like the problem might be
> related to fact that I use different persistent store for Project than
> for Measurement - if I fetch other objects saved in the same persistent
> store, fetch works.

Core Data does not support relationships across persistent stores. You may be
able to use fetched properties to grab the related objects. See the Core Data
programming guide:
<http://developer.apple.com/documentation/Cocoa/Conceptual/CoreData/Articles/cdRelationships.html#//apple_ref/doc/uid/TP40001857-SW5>

-Ben
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Core data fetch returns no objects (From: Tomaž Kragelj <email@hidden>)

  • Prev by Date: Re: Modal dialog without NSApplication
  • Next by Date: How to call functions of a C dylib on a C++ dylib
  • Previous by thread: Core data fetch returns no objects
  • Next by thread: Re: Core data fetch returns no objects
  • Index(es):
    • Date
    • Thread