| Author |
Persistence.xml | No JNDI Datasource
|
Shiaber Shaam
Ranch Hand
Joined: Jun 16, 2006
Posts: 252
|
|
When trying to configure a non-jndi jdbc parameters in persistence.xml in jboss 5.1, i am getting
java.lang.RuntimeException: Specification violation [EJB3 JPA 6.2.1.2] - You have not defined a jta-data-source for a JTA enabled persistence context named
How it should be done?
PS:
No JNDI dataource.
Hibernate/EntityManager.
persistence.xml.
|
$Hi/\bEr
|
 |
Jaikiran Pai
Marshal
Joined: Jul 20, 2005
Posts: 8145
|
|
Post the contents of your persistence.xml file.
|
[My Blog] [JavaRanch Journal]
|
 |
 |
|
|
subject: Persistence.xml | No JNDI Datasource
|
|
|