Which circumstance can this happen?

A session bean business method invokes UserTransaction.setRollbackonly and receives an IllegalStateException.
Under which circumstance can this happen?
A. The bean is using bean-managed transactions regardless of whether there is an active transaction.
B. There is no circumstance that would cause setRollbackOnly to throw an IllegalStateException.
C. The bean is using bean managed transaction demarcation, and UserTransaccion.begin has been invoked.
D. The setRollbackOnly method is invoked within a bean-managed transaction, and userTransaction.commit has NOT been invoked.

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.