embed « Jar « JPA Q&A





1. [Glassfish embedded] Problem with JPA2 entities in jar in a war    java.net

Now we are trying to split up the application in different projects. We have put all the JPA2 entities together with persistence.xml in a separate maven jar project, and the parent war project has a dependency to the jpa project. This works fine when deployed to Glassfish, but the TestNG tests using Glassfish Embedded stopped working. No matter what we try, ...