Re: EO Object Lifespan / Editing Context (Goodbye Bill)
Re: EO Object Lifespan / Editing Context (Goodbye Bill)
- Subject: Re: EO Object Lifespan / Editing Context (Goodbye Bill)
- From: "b.bum" <email@hidden>
- Date: Thu, 17 Jul 2003 18:10:51 -0400
On Thursday, July 17, 2003, at 5:30 PM, Ray Ackland wrote:
Similarly, if you need any objects to be shared between multiple
sessions, have it as an instance variable in the Application class.
Very true, but be careful...
In particular, you can't create relationships between objects if the
objects are in different editing contexts. If you want shared
objects, you want to use the application's EOSharedEditingContext
instance.
As Ben Trumbull succinctly indicated at WWDC, EOSharedEditingContext
is misnamed -- it really should be EOSharedReadOnlyEditingContext.
b.bum
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.