Which two are correct?

A session bean calls the setRollbackOnly method on the EJBContext interface within a business
method with an active transaction. Which two are correct? (Choose two.)

A session bean calls the setRollbackOnly method on the EJBContext interface within a business
method with an active transaction. Which two are correct? (Choose two.)

A.
The transaction timeout is immediately disabled.

B.
The container will ensure that the transaction will never commit.

C.
The bean must have started the current transaction for this to be legal.

D.
The bean must have bean-managed transaction demarcation for this to be legal.

E.
The bean must have container-managed transaction demarcation for this to be legal.



Leave a Reply 0

Your email address will not be published. Required fields are marked *