Q. Which statement about JTA and resource-local entity managers is correct? (Solved)

1. The default transaction type for an entity manager is JTA in both Java EE and Java SE environments.

2. You cannot use a resource-local entity manager in a Java EE environment.

3. The EntityTransaction interface must be used when using a resource-local entity manager. (*)

4. Application-managed entity managers can be only a JTA transaction type.

  • c. The EntityTransaction interface must be used when using a resource-local entity manager. (*)
Subscribe Now

Get All Updates & News