JBoss Community

Re: Jndi name of persistence unit (persistence.xml)

created by Wolf-Dieter Fink in Datasource Configuration - View the full discussion

You might change the peristence.xml like this:

<persistence ...>

  <persistence-unit name="...">

    <jta-data-source>...</jta-data-source>

    <properties>

      <property name="jboss.entity.manager.jndi.name" value="java:/EntityManager/simpledb"/>

 

    </properties>

  </persistence-unit>

</persistence>

Reply to this message by going to Community

Start a new discussion in Datasource Configuration at Community