deprecated LockManagerClass

Robert den Uijl <[email protected]> Mon, 8 Oct 2007 02:28:17 -0700 (PDT)
Newsgroups gmane.comp.jakarta.ojb.user
Message-ID <[email protected]>
Hi,

Regarding migration ojb 1.0.1 to 1.0.4 I noticed the following line in
ojb.properties

# @deprecated
LockManagerClass=org.apache.ojb.odmg.locking.LockManagerDefaultImpl

If I retain this setting a NPE occurs in the doClose() invoke in
org.apache.ojb.odmg.TransactionImpl.commit()

The NPE doesn't occur when changing the LockManagerClass implementation to:

LockManagerClass=org.apache.ojb.broker.locking.LockManagerInMemoryImpl

However I could not found any information about the reason of
org.apache.ojb.odmg.locking.LockManagerDefaultImpl being deprecated; I would
like to know the impact of using the other implementation.

So, what is the reason behind this change?

Regards,

Robert








-- 
View this message in context: http://www.nabble.com/deprecated-LockManagerClass-tf4586990.html#a13093301
Sent from the Apache DB - ObjectRelationalBridge Users mailing list archive at Nabble.com.