On 14/08/2008, at 12:25 PM, Dov Rosenberg wrote:

In our case we create a new EC because we use a SharedEC for read only data.

Is the shared ec locked for reading or writing?

When we need to modify an object we create a new EC and set the reference to the SharedEC to null and rely on the Object Store Coordinator to notify the SharedEC when the change is committed. We need objects from the SharedEC so
we use LocalInstance to get one.

Yep.

We have fixed other similar issues by just refetching the objects
into a new EditingContext instead of using localInstance.

I would expect that to be far, far slower.

Have you tried just faulting from the global ids of the objects?

with regards,
--

Lachlan Deck

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to