On Aug 13, 2009, at 11:38 AM, email@hidden wrote:
Message: 7
Date: Thu, 13 Aug 2009 09:18:10 -0400
From: Mike Schrag <email@hidden>
Subject: Re: ERXEC and locking
To: WebObjects-Dev List <email@hidden>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
I have been watching Chuck's podcast - "WebObjects Quite Good
Practices", and I would like to make absolutely sure that I
understand this correctly.
Q: Is it true to say:
---------
If I use ERXEC to create all my editingContexts, using:
EOEditingContext ec = ERXEC.newEditingContext();
then I do not have to worry about locking, it all happens
automagically.
assuming you have the appropriate properties set to autolock
Are the default settings to 'autolock'?
if by "default" you mean "with no Properties files," no, the default
is normal behavior. if by "default" you mean "the default Properties
file that WOLips makes," then yes. you should look in your Propeties
file to see if you have autolocking enabled.
Also, are the ECs that I create in the middle of an RR-loop safe?
yes
ms