> 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.
