CCM NG: Missing class
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3463 8810af33-2d31-482b-a856-94f89814c4dfpull/2/head
parent
3019397905
commit
4deb944d04
|
|
@ -0,0 +1,17 @@
|
||||||
|
package org.libreccm.jpautils;
|
||||||
|
|
||||||
|
import javax.enterprise.context.ApplicationScoped;
|
||||||
|
import javax.persistence.EntityManager;
|
||||||
|
import javax.persistence.PersistenceContext;
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a>
|
||||||
|
*/
|
||||||
|
@ApplicationScoped
|
||||||
|
public class EntityManagerProducer {
|
||||||
|
|
||||||
|
@PersistenceContext(name = "LibreCCM")
|
||||||
|
private EntityManager entityManager;
|
||||||
|
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue