I am using JPA for a java class and having trouble putting the persistence XML file where it should be.
The IDE i am using is Eclipse Helios. Eclipselink jar files are d
Traditionally, the persistence.xml is located in a META-INF folder that needs to reside in the root of the Java classpath. If you’re using Maven, you can store it in the resources folder, like this:
META-INF
resources
src/main/resources/META-INF/persistence.xml