Re: Core data fetch returns no objects
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