Re: Back To Basics : Databases Active Editing Context
Re: Back To Basics : Databases Active Editing Context
- Subject: Re: Back To Basics : Databases Active Editing Context
- From: Lachlan Deck <email@hidden>
- Date: Mon, 7 Jul 2008 12:09:08 +1000
On 07/07/2008, at 11:49 AM, Owen McKerrow wrote:
OK so we think we probably screwed up implementing MultiLockManager
somehow, so heres a couple of more questions to make sure all of our
bases are covered :
In Session's sleep we have ( terminate looks exactly the same except
of course its for terminate )
public void sleep()
try {
synchronized (ecLockManager) {
if (ecLockManager().isLocked()) {
ecLockManager().unlock();
}
}
}
finally {
super.sleep();
}
}
Should we be using unregisterEditingContext instead of unlock() ? If
not why/when should you use unregisterEditingContext ?
Not familiar with the MultiECLockManager, so Chuck (or someone else)
will need to chime i here.
I assume you're not using Wonder for this project.
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