JPA Implementation.