Hibernate ORM startup failure (HHH000342) when using dev services and the datasource and PU name are different #26507
Labels
area/hibernate-orm
Hibernate ORM
area/persistence
OBSOLETE, DO NOT USE
kind/bug
Something isn't working
Milestone
Describe the bug
If I change the configuration of the Hibernate ORM quickstart to this, then
mvn clean test
still works fine:But! Change the datasource name to
DB2
, and all hell breaks loose:Expected behavior
The behavior of Quarkus should not depend on whether the persistence unit and datasource have the same name.
Actual behavior
The behavior of Quarkus depends on whether the persistence unit and datasource have the same name.
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
Evidently, there's something wrong: somewhere, we use the datasource name where we should be using the persistence unit name (or vice-versa).
The text was updated successfully, but these errors were encountered: