Hibernate with JPA Annotations and Guice

05/01/2010

In this tutorial, I use the H2 database, which you can utilize by downloading the jar or you can replace with your own DB. First off, you need to create a persistence.xml in a folder named META-INF at the root of your classpath. For example, if you’re using Maven you can create src/main/java/META-INF/persistence.xml. It lists Read More