About Question enthuware.oce-jpad.v6.2.598 :
Posted: Mon Aug 14, 2017 8:53 am
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.
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.