JPA integration