HHH-5222 upgrade from READ to OPTIMISTIC_FORCE_INCREMENT fails

This commit is contained in:
Scott Marlow 2011-11-23 12:43:11 -05:00
parent e044cb2ce1
commit 4c6330b535
1 changed files with 2 additions and 2 deletions

View File

@ -91,13 +91,13 @@ public enum LockMode {
* Optimisticly assume that transaction will not experience contention for * Optimisticly assume that transaction will not experience contention for
* entities. The entity version will be verified near the transaction end. * 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. * Optimisticly assume that transaction will not experience contention for entities.
* The entity version will be verified and incremented near the transaction end. * The entity version will be verified and incremented near the transaction end.
*/ */
OPTIMISTIC_FORCE_INCREMENT( 4 ), OPTIMISTIC_FORCE_INCREMENT( 7 ),
/** /**
* Implemented as PESSIMISTIC_WRITE. * Implemented as PESSIMISTIC_WRITE.