quarkus.hibernate-orm.enabled = false
doesn't work when using Panache
#28842
Labels
Milestone
quarkus.hibernate-orm.enabled = false
doesn't work when using Panache
#28842
Describe the bug
If we try to set
quarkus.hibernate-orm-enabled = false
in an application that uses Panache, we get this error when building:That's probably caused by
PanacheJpaCommonResourceProcessor
assuming thatJpaModelBuildItem
is always present; it should useOptional<JpaModelBuildItem>
instead. Or it should just disable itself when Hibernate ORM is disabled.And we should have tests for that...
Expected behavior
No response
Actual behavior
No response
How to Reproduce?
No response
Output of
uname -a
orver
No response
Output of
java -version
No response
GraalVM version (if different from Java)
No response
Quarkus version or git rev
No response
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: