AllExam Dumps

DUMPS, FREE DUMPS, VCP5 DUMPS| VMWARE DUMPS, VCP DUMPS, VCP4 DUMPS, VCAP DUMPS, VCDX DUMPS, CISCO DUMPS, CCNA, CCNA DUMPS, CCNP DUMPS, CCIE DUMPS, ITIL, EXIN DUMPS,


READ Free Dumps For Oracle- 1z0-898





Question ID 4586

Given a set of CMT bean methods with the following transaction attributes:
Method M1 = SUPPORTS Method M2 = REQUIRED
Method M3 = NOT_SUPPORTED
Method M4 = REQUIRES_NEW
And the following method invocation sequence:
Method M1 invokes Method M2 Method M2 invokes Method M3 Method M1 invokes Method M4
If Method M1 is invoked by a method that does NOT have a transaction context, which describes a possible scenario?
 

Option A

A.    Method M1:notransaction MethodM2:newtransaction MethodM3:notransaction MethodM4:newtransaction
 

Option B

B.    MethodM1:notransaction
MethodM2:ContainerthrowsTransactionNotSupportedException
 

Option C

C.    MethodM1:notransaction
MethodM2:runsinsametransactionasM1
MethodM3:containerthrowsTransactionNotSupportException
 

Option D

D. MethodM1:notransaction MethodM2:newtransaction
MethodM3:ContainerthrowsTransactionNotSupportException.
 

Correct Answer A
Explanation


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
Explanation

Send email to admin@getfreedumps for new dumps request!!!