Thanks Guido. I really appreciate your quick response.

For setting the locking property mentioned, does my app need to extend 
ERXApplication? currently my app is very loosely coupled to Project Wonder 
i.e., we use different API's from Project Wonder as needed.

Moreover, after setting this property should I lock & unlock EOEditingContext 
in R-R loop or while fetching, saving, or modifying any EO object.

Please advise.

Thank You So Much,
Shravan Kumar. M
--------------------------------------------

--- On Wed, 4/8/09, Guido Neitzer <[email protected]> wrote:

From: Guido Neitzer <[email protected]>
Subject: Re: EOEditingContext Lock/Unlock best practice?
To: "shravan kumar" <[email protected]>
Cc: [email protected]
Date: Wednesday, April 8, 2009, 2:20 AM

On 7. Apr. 2009, at 13:35 , shravan kumar wrote:

> "Question: Given these caveats and any other, please advise me *BEST 
> PRACTICE* (that overcomes dangerous locking/ unlocking issues like: deadlock 
> and ...) in locking/ unlocking EOEditingContext object in various scenarios 
> like, the ones described above."

Use Wonder with

er.extensions.ERXEC.safeLocking=true

cug



      
 _______________________________________________
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