PrepAway - Latest Free Exam Questions & Answers

Which choice correctly describes the functionality of the setRollbackOnly() method of the UserTransaction inte

Which choice correctly describes the functionality of the setRollbackOnly() method of the
UserTransaction interface?

PrepAway - Latest Free Exam Questions & Answers

A.
The setRollbackOnly() method rolls back the transaction of the current thread only if
SecurityException is thrown.

B.
The setRollbackOnly() method suspends the transaction of the current thread.

C.
The setRollbackOnly() method rolls back the transaction of the current thread only if
IllegalStateException is thrown.

D.
The setRollbackOnly() method allows an entity bean to mark a transaction for rollback at a
subsequent time.


Leave a Reply