-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Derived findBy…IgnoreCaseIn query doesn't return expected results [DATAMONGO-2540] #3395
Labels
type: bug
A general bug
Milestone
Comments
Christoph Strobl commented According to the MongoDB reference documentation the |
MostafaACHRAF commented Thanks for your response. Yes you are right, but why the "ignoreCase" doesn't not work ? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
MostafaACHRAF opened DATAMONGO-2540 and commented
The derived query : findByAttributeNameIgnoreCaseIn(.....) doesn't work when working with springboot-starter-data-mongodb.
I have a spring boot application. Content of pom.xml :
}}{{
I have the folowing class "Flight" :
PagingAndSoring repository :
Test case class :
{{}}
}}{{
The test fails, returning 0 elements instead of 1. Here is the log :
The option key/value is messing in the query, maybe this is the cause of the problem.
I think the log of a working method should be soemthing like :
I did the test for "findOriginIgnoreCase" and it works correctly. The problem occurs when we add "In" keyword to the method name
No further details from DATAMONGO-2540
The text was updated successfully, but these errors were encountered: