Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

datasource parm in persistence.xml  RSS feed

 
Jesus Angeles
Ranch Hand
Posts: 2069
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have a mysql database that I want my ejb 3 system to point to.

Where do I get the datasource name that goes inside this below?

<jta-data-source>???</jta-data-source>
 
Scott Selikoff
author
Bartender
Posts: 4081
21
Eclipse IDE Flex Google Web Toolkit
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Depends what server software you are using. Usually it relates to a database pool you've set up on your server or included in your deployment.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!