jpa Homework