Homework (JPA) for the course on JavaEE