My reading of the JPA spec is that it requires the EntityManagerFactory to be
exported to JNDI, but I will check what others think on this.
You should be able to do this using
<persistence:entityMangerFactory persistence-unit-name="SeamGenProject"
name="entityManagerFactory" />
| <persistence:managed-persistence-context name="entityManager"
auto-create="true" entityManagerFactory="#{entityManagerFactory}" />
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4073409#4073409
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4073409
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user