Migrate to Hibernate for testing JPA