Example API
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
Was this helpful?
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
Was this helpful?