openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pinaki Poddar (JIRA)" <j...@apache.org>
Subject [jira] Created: (OPENJPA-639) A PersistenceUnit/JVM -wide in-memory Lock manager for optimistic transaction
Date Fri, 20 Jun 2008 23:11:46 GMT
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.


Mime
View raw message