In the second option , "Usually, you create a new entity manager with each new transaction (i.e. a transaction scoped entity manager)."
I think we have a new persistence context (not a new entity manager) created with each new invocation of a container managed transaction scoped entity manager.
I don't think we have a new entity manager created when a new transaction starts.
About Question enthuware.oce-jpad.v6.2.598 :
Moderator: admin
-
- Posts: 358
- Joined: Fri Nov 29, 2013 8:26 pm
- Contact:
Who is online
Users browsing this forum: No registered users and 137 guests