If a Persistence application locks entity x with a LockModeType.OPTIMISTIC_FORCE INCREMENT lock type, which statement is true?
A.
The Persistence application must increment the version value prior to locking the entity.
B.
This operation will result in a PersistentLockException for a non-versioned object.
C.
This operation will result in a PersistentLockException if the version checks fail.
D.
LockModeType.OPTIMISTIC_FORCE_INCREMENT is the synonym of the LockModeType.WRITE lock type.
Explanation:
http://docs.oracle.com/javaee/6/tutorial/doc/gkjiu.html(seventh row in the first table on the page)