setting up JPA