Thanks for your time and advise Guido.

--- On Fri, 4/10/09, Guido Neitzer <guido.neit...@gmail.com> wrote:

From: Guido Neitzer <guido.neit...@gmail.com>
Subject: Re: EOEditingContext Lock/Unlock best practice?
To: "shravan kumar" <mshravan_...@yahoo.com>
Cc: webobjects-dev@lists.apple.com
Date: Friday, April 10, 2009, 1:28 AM

On 9. Apr. 2009, at 12:46 , shravan kumar wrote:

> Now am using ERXEC.newEditingContext() for creating new EC's, manually 
> locking/ unlocking where required. Also locking/ unlocking in awake/ sleep 
> respectively respect object bindings in the component.

As long as you don't subclass ERXApplicaton and ERXSession, that won't help you 
much over using EOEditingContext.

You might grap the code related to autolocking and incorporate that in your 
app, but I'd avoid that.

If you want to use MultiECLockManager - unfortunately I never used it and I 
don't have a download source. The links here:

http://wiki.objectstyle.org/confluence/display/WO/EOF-Using+EOF-Context+and+Database+Locking

Seem to be dead again (wocode).

cug



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

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

Reply via email to