Skip to content
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

Query parameter is null,it still use equals(=) to compare [DATAJPA-121] #541

Closed
spring-projects-issues opened this issue Nov 7, 2011 · 0 comments
Assignees
Milestone

Comments

@spring-projects-issues
Copy link

@spring-projects-issues spring-projects-issues commented Nov 7, 2011

liuwenhao opened DATAJPA-121 and commented

When a simple property reference gets a null
a tree model table,it has parent is null,i use method public Tree findByParent(Tree parent);
when parameter is null,will return null result.because it use "where parent=null" or not "parent is null"


Affects: 1.0.1, 1.1 M1

Issue Links:

  • DATAJPA-209 Improve handling of null query method parameter values

Referenced from: commits 5c95016

1 votes, 3 watchers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants