You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Caused by: io.quarkus.spring.data.deployment.UnableToParseMethodException: 'And' and 'Or' clauses cannot be mixed in a method name - Try specifying the Query with the @Query annotation. Offending method is 'findAllByNameAndDetailOrMessage' of repository 'at.atc.database.repository.ParentRepository'.
In Spring a method name like that is allowed.
I don't know if this is intentionally not supported but i could not find it in the documentation.
Michael-AT-Corporation
changed the title
Spring Data API Extension not allowinf 'Or' and 'And' in the method name
Spring Data API Extension not allowing 'Or' and 'And' in the method name
Jan 10, 2025
Describe the bug
Having a function like
causes
In Spring a method name like that is allowed.
I don't know if this is intentionally not supported but i could not find it in the documentation.
Expected behavior
Query can be parsed.
Actual behavior
No response
How to Reproduce?
QuarkusReproducerJPAQueryMethodOrAnd.zip
Run the reproducer using:
clean compile quarkus:dev
This should cause the exception.Output of
uname -a
orver
No response
Output of
java -version
No response
Quarkus version or git rev
3.17.6
Build tool (ie. output of
mvnw --version
orgradlew --version
)No response
Additional information
No response
The text was updated successfully, but these errors were encountered: