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