You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "Pinaki Poddar (JIRA)" <ji...@apache.org> on 2008/06/21 01:11:46 UTC
[jira] Created: (OPENJPA-639) A PersistenceUnit/JVM -wide in-memory
Lock manager for optimistic transaction
A PersistenceUnit/JVM -wide in-memory Lock manager for optimistic transaction
-----------------------------------------------------------------------------
Key: OPENJPA-639
URL: https://issues.apache.org/jira/browse/OPENJPA-639
Project: OpenJPA
Issue Type: Wish
Reporter: Pinaki Poddar
Under optimistic transaction model, OpenJPA detects lock violations a) by checking version stamps b) at commit time.
It is non-trivial to recover from a failure detected at commit time. Hence the proposal is for a lock manager that obtains in-memory locks on object.
A combination of
a) Lock objects in Java 5 and
b) a capability to find other instances that represent the same database record within i) the same JVM or ii) in the same persistent unit
can be a good starting point for such a feature.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.