Setting up the data access using JPA/Hibernate