[jboss-dev-forums] [Design of EJB 3.0] - Re: jboss.entity.manager.factory.jndi.name

pete.muir@jboss.org do-not-reply at jboss.com
Mon Sep 29 08:18:01 EDT 2008


There is an easy workaround, use:

<persistence:entity-manager-factory name="myPersistenceUnit"/>
  |     
  | <persistence:managed-persistence-context name="entityManager" auto-create="true" entity-manager-factory="#{myPersistenceUnit}"/>

in components.xml

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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179345



More information about the jboss-dev-forums mailing list