Replace Hibernate with JPA