[jboss-user] [Datasource Configuration] - Re: Jndi name of persistence unit (persistence.xml)

Wolf-Dieter Fink do-not-reply at jboss.com
Mon Jan 24 04:31:20 EST 2011


Wolf-Dieter Fink [http://community.jboss.org/people/wdfink] created the discussion

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

To view the discussion, visit: http://community.jboss.org/message/582695#582695

--------------------------------------------------------------
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
[http://community.jboss.org/message/582695#582695]

Start a new discussion in Datasource Configuration at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2077]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110124/1b6c046a/attachment.html 


More information about the jboss-user mailing list