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 4556

Given the following code:
Public void create () {
try {
doA () {
} catch (PersistenceException e) {}
try (doB) ();
} catch (PersistenceException e) {}
}
Calling method doA will cause an NonUniqueResultException to be thrown. Calling method doB will cause an EntityExistsException to be thrown.
What two options describe what will happen when the create method is called within an application ' uses container managed transactions? (Choose two)
 

Option A

A.    Method doB will never be called.
 

Option B

B.    The current transaction will continue after doA executes.
 

Option C

C.    The current transaction will continue after doB executes.
 

Option D

D.    The current transaction will be marked for rollback when doA is called.
 

Option E

E.    The current transaction will be marked for rollback when doB is called.
 

Correct Answer B,E
Explanation


Question ID 4557

An application that uses pessimistic locking calls an updateData method that results in a LockTimeoutException being thrown. What three statements are correct? (Choose three)
 

Option A

A.    The current transaction continues.
 

Option B

B.    The current statement continues.
 

Option C

C.    The current transaction is rolled back.
 

Option D

D.    The current statement is rolled back.
 

Option E

E.    The LockTimeoutException can NOT be caught.
 

Option F

F.    The LockTimeoutException can be caught, and the updateData method retried.
 

Correct Answer A,D,F
Explanation

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