new classes for JPA and Hibernate Connection