JpaConfiguration.java 363 Bytes
package org.legrog.configuration;

import javax.enterprise.context.RequestScoped;
import javax.enterprise.inject.Produces;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;


public class JpaConfiguration {

    @Produces
    @RequestScoped
    @PersistenceContext(unitName = "v3-pu")
    public EntityManager entityManager;

}