About Question enthuware.oce-jpad.v6.2.598 :

Moderator: admin

Post Reply
himaiMinh
Posts: 358
Joined: Fri Nov 29, 2013 8:26 pm
Contact:

About Question enthuware.oce-jpad.v6.2.598 :

Post by himaiMinh »

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.

Post Reply

Who is online

Users browsing this forum: No registered users and 29 guests