JPA without persistence.xml
问题 I'm trying to get started with using Guice Persist and JPA, which recommends using configuration via persistence.xml. Coming from a native Hibernate background where configuration was obtained programmatically, is there a simple way to configure a JpaPersistModule without a persistence.xml file, or will a rump persistence.xml always have to exist? If no such option exists, it might be the case where I might have to play around with PersistenceProvider (assuming the "default" parses