Open pschyma opened 1 day ago
/cc @FroMage (panache), @geoand (kotlin), @loicmathieu (panache)
Could you provide a reproducer? Preferably in Java if it's reproducible in pure Java.
If it's a pure Hibernate ORM issue, probably a good idea to try to reproduce it with plain https://github.com/hibernate/hibernate-test-case-templates/tree/main/orm/hibernate-orm-6 . If you can't, a Quarkus reproducer is fine.
From what I can see, it looks like an Hibernate ORM issue but I will let @yrodiere confirm once we have a reproducer.
Thanks!
I could reproduce it with just Hibernate ORM: https://hibernate.atlassian.net/browse/HHH-18903
Describe the bug
I updated a project from 3.17.0 to 3.17.2 and started receiving exceptions in building and testing related to Hibernate bytecode enhancing:
I traced it down to Hibernates Enhancer [1]. Starting from Quarkus 3.17.1 the Hibernate version used does not seem to like entities like
The enhancer does not like both
get
methods.[1] https://github.com/hibernate/hibernate-orm/blob/e14ead0c0f0916cc8fdb8895e2cc481754a75583/hibernate-core/src/main/java/org/hibernate/bytecode/enhance/internal/bytebuddy/EnhancerImpl.java#L463
Expected behavior
Quarkus builds the project without any issues.
Actual behavior
No response
How to Reproduce?
No response
Output of
uname -a
orver
Linux
Output of
java -version
21
Quarkus version or git rev
3.17.1+
Build tool (ie. output of
mvnw --version
orgradlew --version
)Gradle 8.11.1
Additional information
I'm not sure whether this is a Quarkus or Hibernate issue; but since it's also occurring on Quarkus/ Panache companion objects, I decided to start here.