Closed recursivecodes closed 4 years ago
FYI - I've tested and confirmed that both issues exist against Oracle DB as well as the H2 example attached here.
The supported syntax is Ilike
, not ILike
I'll submit a PR to your repo with that change as well as the usage of '%'
Thanks for reporting an issue for Micronaut Data, please review the task list below before submitting the issue. Your issue report will be closed if the issue is incomplete and the below tasks not completed.
NOTE: If you are unsure about something and the issue is more of a question a better place to ask questions is on Stack Overflow (http://stackoverflow.com/tags/micronaut) or Gitter (https://gitter.im/micronautfw/). DO NOT use the issue tracker to ask questions.
Task List
Steps to Reproduce
BookRepository.java:18
and compileExpected Behaviour
Query using
Like
should return a List containing one element. Query usingILike
should compile.Actual Behaviour
Like
query does not work properly andILike
query fails to compile.Environment Information
Example Application