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

Moderator: admin

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

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 2 guests