replacing spring-data by a custom implementation