Skip to content

find by nested properties doesn't work [DATACOUCH-583] #891

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 Jul 14, 2020 · 1 comment
Closed
Assignees
Labels
in: repository Repositories abstraction type: bug A general bug

Comments

@spring-projects-issues
Copy link

Jyothi opened DATACOUCH-583 and commented

Spring Data's query derivation mechanism is not working for nested properties. For E.g., below is not working with 4.0.1 version.

List<Person> findByAddressCity(String city);

findByAddress_City is not working either.

 

Same example worked fine with 3.2.1.RELEASE


Affects: 4.0.1 (Neumann SR1)

Backported to: 4.0.5 (Neumann SR5)

@spring-projects-issues
Copy link
Author

Michael Reiche commented

jyothiv - the issue is that it now puts back-tics around the complete name address.city which results on the search looking for a json object name address.city ( address.city : { .... } ),  (instead of address : { city: ... }
I'll investigate futher

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: repository Repositories abstraction type: bug A general bug
Projects
None yet
Development

No branches or pull requests

2 participants