Core data fetch returns no objects

2008-09-18 Thread Tomaž Kragelj
Hi all - I need some help with core data fetching... I have 1:N relationship between Project and Measurement entities. I add all objects to managed context programatically using + [NSEntityDescription insertNewObjectForEntityForName:inManagedObjectContext]. First I add Project object,

Re: Core data fetch returns no objects

2008-09-18 Thread Benjamin Stiglitz
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