Define a custom base repository that fits the needs of your project and let Spring Data JPA provide the implementation.| Thorben Janssen