HHH-5222 upgrade from READ to OPTIMISTIC_FORCE_INCREMENT fails
This commit is contained in:
parent
e044cb2ce1
commit
4c6330b535
|
@ -91,13 +91,13 @@ public enum LockMode {
|
|||
* Optimisticly assume that transaction will not experience contention for
|
||||
* entities. The entity version will be verified near the transaction end.
|
||||
*/
|
||||
OPTIMISTIC( 3 ),
|
||||
OPTIMISTIC( 6 ),
|
||||
|
||||
/**
|
||||
* Optimisticly assume that transaction will not experience contention for entities.
|
||||
* The entity version will be verified and incremented near the transaction end.
|
||||
*/
|
||||
OPTIMISTIC_FORCE_INCREMENT( 4 ),
|
||||
OPTIMISTIC_FORCE_INCREMENT( 7 ),
|
||||
|
||||
/**
|
||||
* Implemented as PESSIMISTIC_WRITE.
|
||||
|
|
Loading…
Reference in New Issue