Spring Data JPA base template