[jboss-user] [EJB 3.0] - Re: Local JNDI name for EntityManager?

ALRubinger do-not-reply at jboss.com
Mon Feb 12 10:07:14 EST 2007


If you'd like to have the EntityManager and Factory accessible via JNDI, just add these to your persistence.xml (will place in Global scope):

<property name="jboss.entity.manager.jndi.name"
  |         value="java:/entityManager" />
  | <property name="jboss.entity.manager.factory.jndi.name"
  |         value="java:/entityManagerFactory" />

S,
ALR

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

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



More information about the jboss-user mailing list