Re: ERXEC and methods getting called without lock
Re: ERXEC and methods getting called without lock
- Subject: Re: ERXEC and methods getting called without lock
- From: Guido Neitzer <email@hidden>
- Date: Fri, 5 Aug 2005 13:45:16 +0200
On 05.08.2005, at 13:31 Uhr, Anjo Krank wrote:
b) using ERXEC as a class (ie the actual EC you get from the
factory) makes a lot of sense as it auto UNlocks after the RR loop
- which just happens and is not really under your control. You
can't use D2W without it.
But with that - it shouldn't lead to any deadlocks because of ec
locking?! Or is my logic wrong here?
c) you *can* use the auto LOCK features, but I never tried it,
wouldn't recommend it and using them is generally sloppy. Fix your
code instead.
Hmm. I use it in one application and it seems to work very well.
But okay, as I have to work on the admin app when I'm done with the
current project, I will think of some good locking practice for this
app ...
cug
_______________________________________________
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