[jboss-user] [JBoss Seam] - Re: problem configuring SMPC

pete.muir@jboss.org do-not-reply at jboss.com
Sun Aug 12 19:19:52 EDT 2007


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



More information about the jboss-user mailing list