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
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user