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
Expected behavior
This Query Method needs to be working as it is actually working in Spring Boot framework with Spring Data JPA.
Actual behavior
Runtime exception is thrown:
2020-07-08 18:34:00,858 ERROR [io.qua.dep.dev.DevModeMain] (main) Failed to start Quarkus: java.lang.RuntimeException: io.quarkus.builder.BuildException: Build failure: Build failed due to errors
[error]: Build step io.quarkus.spring.data.deployment.SpringDataJPAProcessor#build threw an exception: io.quarkus.spring.data.deployment.UnableToParseMethodException: Entity com.targa.labs.quarkus.myboutique.domain.Order does not contain a field named: CartCustomerId. Offending method is findByCartCustomerId
To Reproduce
Steps to reproduce the behavior:
Create new Quarkus app with: Hibernate ORM and Quarkus Extension for Spring Data JPA API dependencies. For DB I used Postgresql
Environment (please complete the following information):
Output of uname -a or ver: Darwin MacBook-Pro-de-Nebrass.local 19.5.0 Darwin Kernel Version 19.5.0: Tue May 26 20:41:44 PDT 2020; root:xnu-6153.121.2~2/RELEASE_X86_64 x86_64
Output of java -version: OpenJDK 64-Bit Server VM GraalVM CE 20.1.0 (build 11.0.7+10-jvmci-20.1-b02, mixed mode, sharing)
GraalVM version (if different from Java):
Quarkus version or git rev: 1.5.2.Final
Build tool (ie. output of mvnw --version or gradlew --version): 3.6.3
Additional context
(Add any other context about the problem here.)
The text was updated successfully, but these errors were encountered:
Describe the bug
I have these Java classes:
A MappedSuperclass AbstractEntity that is a superclass for all JPA entities:
And these JPA entity classes:
The Order class:
The Cart class:
And finally the Customer class:
I have a JpaRepository to find orders using the Customer Id:
Expected behavior
This Query Method needs to be working as it is actually working in Spring Boot framework with Spring Data JPA.
Actual behavior
Runtime exception is thrown:
To Reproduce
Steps to reproduce the behavior:
mvn quarkus:dev
Configuration
Screenshots
None
Environment (please complete the following information):
uname -a
orver
: Darwin MacBook-Pro-de-Nebrass.local 19.5.0 Darwin Kernel Version 19.5.0: Tue May 26 20:41:44 PDT 2020; root:xnu-6153.121.2~2/RELEASE_X86_64 x86_64java -version
: OpenJDK 64-Bit Server VM GraalVM CE 20.1.0 (build 11.0.7+10-jvmci-20.1-b02, mixed mode, sharing)mvnw --version
orgradlew --version
): 3.6.3Additional context
(Add any other context about the problem here.)
The text was updated successfully, but these errors were encountered: