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: Owen McKerrow <email@hidden>
- Date: Mon, 7 Jul 2008 13:33:59 +1000
Nope, no Wonder on this one.
Owen McKerrow
WebMaster, emlab
Ph : +61 02 4221 5517
http://emlab.uow.edu.au
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - -
'The test of a first-rate intelligence is the ability to hold two
opposed ideas in the mind at the same time and still be able to
function.'
-F.Scott Fitzgerald,
On 07/07/2008, at 12:09 PM, Lachlan Deck wrote:
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