On 6/1/09 3:01 PM, Ben Trumbull said:

>> Now that 10.5.7 (allegedly) fixes the incompatibilities between the
>> SQL
>> store and GC apps, I have been trying to switch from XML to SQL.  Most
>> problems I've fixed, but I'm getting an exception:
>
>Yes, 10.5.7 fixes all the known issues with (GC, NSDocument,
>NSSQLiteStore).  The incompatibilities were in document based apps.
>Non-document GC apps worked with the NSSQLiteStore prior to 10.5.7

Glad to hear it!

>> "statement is still active"
>>
>> See backtrace below.  I've search the archives of course, and see that
>> this is usually a threading problem.  My app is multithreaded, but I
>> do
>> all my UI, bindings, and Core Data stuff on the main thread (barring
>> mistakes).
>>
>> Experimentation has revealed that if I change this:
>>
>>      [request setReturnsObjectsAsFaults:NO];
>>
>> from NO to YES the problem goes away.
>>
>> What might I be doing wrong here?  Or is this a Core Data bug?
>
>This is a known issue that is not related to GC.

But is related to SQL I'm assuming?  I don't see this problem with XML.
Maybe I'm just lucky?

>On all versions of
>10.5, Core Data is less than completely thrilled by fetching
>recursively in -awakeFromFetch. This has subsequently been fixed.

OK, so I guess I'll just use setReturnsObjectsAsFaults:YES and move on.

Thanks!

--
____________________________________________________________
Sean McBride, B. Eng                 s...@rogue-research.com
Rogue Research                        www.rogue-research.com
Mac Software Developer              Montréal, Québec, Canada


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to