Spring Data includes an API for querying through samples:
Example<Employee> example; Iterable<Employee> employees; example = Example.of(emp); employees = repository.findAll(example);
Last updated 5 years ago
Was this helpful?