Skip to content

Add support for Query-By-Example. [DATAMONGO-1245] #2161

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
spring-projects-issues opened this issue Jun 25, 2015 · 0 comments
Closed

Add support for Query-By-Example. [DATAMONGO-1245] #2161

spring-projects-issues opened this issue Jun 25, 2015 · 0 comments
Assignees
Labels
in: core Issues in core support in: mapping Mapping and conversion infrastructure type: documentation A documentation update type: enhancement A general enhancement

Comments

@spring-projects-issues
Copy link

Christoph Strobl opened DATAMONGO-1245 and commented

provide means to allow using a partially filled domain object as pattern for the actual query.

Person sample = new Person();
sample.setLastname("Matthews");

List<Person> result = repository.findAllByExample(new Example<Person>(sample));
  • Provide Example wrapper where one is able to define null value and String handling.
  • Offer findByExample as respository method

Issue Links:

Referenced from: pull request #341

1 votes, 2 watchers

@spring-projects-issues spring-projects-issues added type: documentation A documentation update type: enhancement A general enhancement in: core Issues in core support in: mapping Mapping and conversion infrastructure labels Dec 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: core Issues in core support in: mapping Mapping and conversion infrastructure type: documentation A documentation update type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

2 participants