JPA project for DB class