JPA Controllers code review.