jndi database connection with jpa and eclipselink

前端 未结 5 2029
误落风尘
误落风尘 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:50

    Year 2015 actualisation: I not sure Eclipselink SessionCustomizer is required. In my test all work without (Tomcat 7.x, Java 7.x, Eclipselink 2.4.x).

    Some older materials suggest specific problem with Tomcat 5/6 and special way to resolve it.

提交回复
热议问题