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

blackers do-not-reply at jboss.com
Wed Aug 8 00:18:11 EDT 2007


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



More information about the jboss-user mailing list