Persistence with JPA2 (RESOURCE_LOCAL vs JTA)
| Sep 12, 2013The configuration for an entity manager is bound tothe factory that created it. Whether application or container managed, the factory needs a persistence unit from which to create an entity manager. A persistence unit dictates the settings to connect to the database and the list of entities that can be managed in a persistence context. […]
Read More →