Class EEEntityManagerProvider

  • All Implemented Interfaces:

    public class EEEntityManagerProvider
    extends Object
    implements EntityManagerProvider
    Designed to use a container entity manager relying on JTA to commit. The EntityManager is a CDI bean with the qualifier @Named. Default name is "batcheeJpaEm" but it can be customized using "" property. Note: the bean should be scoped @ApplicationScoped. Typically:
     private EntityManager batcheeJpaEm;