Re: SharedEditingContext Write Locks?
Re: SharedEditingContext Write Locks?
- Subject: Re: SharedEditingContext Write Locks?
- From: Dov Rosenberg <email@hidden>
- Date: Wed, 16 Nov 2005 22:36:19 -0500
- Thread-topic: SharedEditingContext Write Locks?
So if I understand what you are saying here
>
> They work best by using their API to fetch objects you wish to share
> into the context, and then creating real EOEditingContexts and having
> them use that shared context.
If I want to use shared objects from a non shared editing context I need to
set the shared ec
SharedEc = EOSharedEditingContext.defaultSharedEditingContext();
EOEditingContext ec = new EOEditingContext ();
ec.setSharedEditingContext(SharedEc);
By setting the Shared EditingContext into my regular one, do I now get
automatic access to the shared objects stored within?
So if I do something like
ec.objectsWithFetchSpecification(....)
And the objects had been previously retrieved by the SharedEC - would ec be
able to use them?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden