Skip to content

Create example module for Query by Example for JPA and MongoDB #154

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
wants to merge 4 commits into from

Conversation

mp911de
Copy link
Member

@mp911de mp911de commented Feb 26, 2016

Contains example modules for the Query by Example feature of Spring Data MongoDB and Spring Data JPA.

This code does not build (yet) since Query by Example currently lives on branches and the referenced Spring Data modules do not contain the Query by Example code yet:

private String lastname;
private Integer age;

public User() {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

how about @NoArgsConstructor?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wasn't sure whether this works with JPA. Thanks for the hint.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

JPA would even work with private ctors AFAIK ;-)

odrotbohm pushed a commit that referenced this pull request Mar 17, 2016
odrotbohm added a commit that referenced this pull request Mar 17, 2016
Simplified domain model using Lombok. Moved configuration classes into test source folder.

Original pull request: #154.
@odrotbohm odrotbohm self-assigned this Mar 17, 2016
@odrotbohm odrotbohm closed this Mar 17, 2016
@mp911de mp911de deleted the issue/153 branch January 4, 2017 09:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants