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

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

Closed
spring-projects-issues opened this issue Jul 14, 2020 · 1 comment
Closed

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

spring-projects-issues opened this issue Jul 14, 2020 · 1 comment

Comments

@spring-projects-issues
Copy link

@spring-projects-issues spring-projects-issues commented Jul 14, 2020

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

@spring-projects-issues spring-projects-issues commented Oct 7, 2020

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
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.