Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » JBoss User Help »

[jboss-user] [JBoss Seam] - Re: SEAM2 fails to inject EntityManager

scott.stark@jboss.org

2007-08-08


In Seam 2.0 you need to change the namespace from core to persistence for the managed-persistence-context element.



<persistence:managed-persistence-context name="entityManager"
|  auto-create="true" persistence-unit-jndi-name="java:/EntityManagerFactories/LaboraemPersistenceFactory/>

and add necessary namespace declarations if necessary

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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4071820
_______________________________________________
jboss-user mailing list
jboss-user@(protected)
https://lists.jboss.org/mailman/listinfo/jboss-user
©2008 junlu.com - Jax Systems, LLC, U.S.A.