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
Copy file name to clipboardExpand all lines: extensions/hibernate-orm/deployment/src/main/java/io/quarkus/hibernate/orm/deployment/integration/QuarkusEnhancementContext.java
+4-2Lines changed: 4 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -33,9 +33,11 @@ public UnsupportedEnhancementStrategy getUnsupportedEnhancementStrategy() {
33
33
// Lack of enhancement could lead to many problems,
34
34
// from bad performance, to Quarkus-specific optimizations causing errors/data loss,
35
35
// to incorrect generated bytecode (references to non-existing methods).
36
-
// If something prevents enhancement, it's just safer to have Hibernate ORM's enhancer fail
36
+
// For backwards compatibility reason, in this branch we adopt the legacy behavior of Hibernate ORM,
37
+
// which is to try to enhance all classes, ignoring any known issue.
38
+
// However, later versions of Quarkus (3.17+ at least) just have Hibernate ORM's enhancer fail.
37
39
// with a clear error message pointing to the application class that needs to be fixed.
0 commit comments