replace Hibernate with JPA