You can inject the EntityManagerFactory into the ManagedPersistenceContext 
using components.xml

<persistence:managed-persistence-context name="entityManager" 
entity-manager-factory="#{entityManagerFactory}"/>



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4103635#4103635

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4103635
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to