jndi database connection with jpa and eclipselink

前端 未结 5 2039
误落风尘
误落风尘 2021-02-15 11:01

I try to setup a database connection in java with JNDI in combination with eclipseLink/JPA on Tomcat 5.5. I already configured the JNDI resource in web.xml and context.xml.

5条回答
  •  眼角桃花
    2021-02-15 11:59

    I hope you could solve the problem with the comments given ...

    I fix it by adding a property "javax.persistence.nonJtaDataSource" with the same value as the element non-jta-data-source

提交回复
热议问题