JPA functionality added