It's important to know what the persistence unit root is. The persistence unit root is the JAR or directory that contains the META-INF directory where the persistence.xml file is located.
So I'm with you on both examples: I think it needs to be ../lib/warEntities.jar for the first and in the second example, in which the JAR is the root, I believe it needs to be ../../lib/earEntities.jar
Can anyone shed a light on this please?
No one can make you feel inferior without your consent - Eleanor Roosevelt. tiny ad:
how do I do my own kindle-like thing - without amazon