Re: EOUtilities.LocalInstanceOfObject performance problem??
Re: EOUtilities.LocalInstanceOfObject performance problem??
- Subject: Re: EOUtilities.LocalInstanceOfObject performance problem??
- From: Lachlan Deck <email@hidden>
- Date: Thu, 14 Aug 2008 13:16:41 +1000
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@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden