Which statement is true?

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.

Download Printable PDF. VALID exam to help you PASS.

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.