eclipselink « Tomcat « JPA Q&A





1. jndi database connection with jpa and eclipselink    stackoverflow.com

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. The db connection works ...

2. JPA and derby null pointer exception    stackoverflow.com

I am trying to do a simple persistence with jpa 2.0 and derby but I keep getting a NullPointerException. Exception and entity class - http://pastebin.com/QqXhRdcN The code where I am trying ...