READ Free Dumps For Oracle- 1z0-898
Question ID 4586 | Given a set of CMT bean methods with the following transaction attributes: |
Option A | A. Method M1:notransaction MethodM2:newtransaction MethodM3:notransaction MethodM4:newtransaction |
Option B | B. MethodM1:notransaction |
Option C | C. MethodM1:notransaction |
Option D | D. MethodM1:notransaction MethodM2:newtransaction |
Correct Answer | A |
Question ID 4587 | WhichEntityManager API will lock entity with a pessimistic lock? |
Option A | A. em.lock(x,LockModeType.WRITE) |
Option B | B. em.lock(x,LockModeType.PESSIMISTIC) |
Option C | C. em.lock(x,LockModeType.PESSIMISTIC_READ) |
Option D | D. em.lock(x,LockModeType.OPTIMISTIC_FORCE_INCREMENT) |
Correct Answer | C |