title: Can I specify a JPA compliant persistence.xml file on the java command line?
body: <p>I've got an UberJar with all my java classes, but want to execute this jar with an external persistence.xml file.  Per the specification, Hibernate (or any other JPA provider) looks for the persistence.xml file in any META-INF folder that's on the classpath, but I haven't been able to make this work with an UberJar.  Any ideas?  Is the UberJar's classloader restricted to the contents of the jar file?</p>