Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.0.0
-
None
-
None
-
Patch Available
Description
I ran a testcase against openjpa 1.2, and found that the "for update" clause is appended to the SQL when
<property name="openjpa.LockManager" value="pessimistic"/>
is added to the persistence.xml without calling:
q.setLockMode(LockModeType.PESSIMISTIC_WRITE);
However, this behavior changes when running against trunk level code
Attachments
Attachments
Issue Links
- incorporates
-
OPENJPA-1714 Consider openjpa.Optimistic setting when calculating the default lock mode to apply to a named query
- Closed
- is related to
-
OPENJPA-1629 Executing a named query with a lock mode greater than NONE throws the wrong exception
- Open