-
Notifications
You must be signed in to change notification settings - Fork 3k
Description
Describe the bug
The following method List<Parent> findAllByMessageAndOrder(String message,boolean order);
in ParentRepository breaks after version 3.18.0.CR1.
Before the method compiled successfully. Now i get the following error:
[error]: Build step io.quarkus.spring.data.deployment.SpringDataJPAProcessor#build threw an exception: io.quarkus.spring.data.deployment.UnableToParseMethodException: Entity at.atc.database.entities.Parent does not contain a field named: der. Offending method is 'findAllByMessageAndOrder' of repository 'at.atc.database.repository.ParentRepository'.
It seems like the keyword is recognized before a matching field.
The following method List<Parent> findAllByPaymentInformationAgeIn(List<Long> age);
in ParentRepository is also not working. Also before 3.18.0.CR1. But the error seems to be the same kind of error:
[error]: Build step io.quarkus.spring.data.deployment.SpringDataJPAProcessor#build threw an exception: io.quarkus.spring.data.deployment.UnableToParseMethodException: Entity at.atc.database.entities.Parent does not contain a field named: paymentformationAge. Offending method is 'findAllByPaymentInformationAgeIn' of repository 'at.atc.database.repository.ParentRepository'.
Expected behavior
The methods should not cause an error.
Actual behavior
No response
How to Reproduce?
Repdroducer:
QuarkusReproducerJPAQueryMethod.zip
Run the reproducer using: mvn clean compile quarkus:dev
This should cause the exception.
Both methods are in the ParentRepository. One is ommented out. To test the other method just uncomment it.
Output of uname -a
or ver
No response
Output of java -version
No response
Quarkus version or git rev
3.19.1
Build tool (ie. output of mvnw --version
or gradlew --version
)
No response
Additional information
No response