Which two statements are correct?

A developer has obtained a container-managed entity manager in a stateless session bean. Which
two statements are correct? (Choose two.)

A developer has obtained a container-managed entity manager in a stateless session bean. Which
two statements are correct? (Choose two.)

A.
Invoking the flush method without a transaction will throw an exception.

B.
Invoking the clear method without a transaction will throw an exception.

C.
Invoking the persist method without a transaction will throw an exception.

D.
Invoking the find method for an entity that does NOT exist will throw an exception.



Leave a Reply 0

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