Fixed JPA entities and controllers.