Which statement about entity manager is true?

Which statement about entity manager is true?

Which statement about entity manager is true?

A.
A container-managed entity manager must be a JTA entity manager

B.
An entity manager injected into session beans can use either JTA or resourcE. local transaction
control.

C.
An entity manager created by calling the EntityManagerFactory.createEntityManager method
always uses JTA transaction control.

D.
An entity manager obtained through resource injection in a stateful session bean can use a
resourcE. local EntityTransaction for transaction control.



Leave a Reply 0

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