openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Angelo K. Huang" <angel...@ymail.com>
Subject Re: ReadLock Questions
Date Wed, 14 Apr 2010 17:09:22 GMT

> I assume you're using the default lock manager(Version), so no setting 
LockModeType.WRITE will not lock the database record.

Do you mean the default lock manager can use any kind of LockModeType to
lock the object? You are right that I am using default lock manager
(version). If I set to pessimistic and use "WriteLockMode = WRITE", does it
hold the record within whole transaction?
-- 
View this message in context: http://n2.nabble.com/ReadLock-Questions-tp4898922p4902853.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.

Mime
View raw message