Branch: refs/heads/main
Home:
https://github.com/hibernate/hibernate-orm
Commit: b5221e2ec65d0118fb04fcbc496e599066014b7a
https://github.com/hibernate/hibernate-orm/commit/b5221e2ec65d0118fb04fcb...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2024-11-13 (Wed, 13 Nov 2024)
Changed paths:
M
hibernate-core/src/main/java/org/hibernate/bytecode/enhance/internal/bytebuddy/ByteBuddyEnhancementContext.java
M
hibernate-core/src/main/java/org/hibernate/bytecode/enhance/internal/bytebuddy/EnhancerImpl.java
M
hibernate-core/src/main/java/org/hibernate/bytecode/enhance/spi/EnhancementContext.java
A
hibernate-core/src/main/java/org/hibernate/bytecode/enhance/spi/UnsupportedEnhancementStrategy.java
A
hibernate-core/src/test/java/org/hibernate/orm/test/bytecode/enhancement/access/UnsupportedEnhancementStrategyTest.java
Log Message:
-----------
HHH-18833 Introduce EnhancementContext#getUnsupportedEnhancementStrategy
This method allows custom contexts to pick the behavior they want when
a class contains getters/setters that do not have a matching field,
making enhancement impossible.
Three behaviors are available:
* SKIP (the default), which will skip enhancement of such classes.
* FAIL, which will throw an exception upon encountering such classes.
* LEGACY, which will restore the pre-HHH-16572 behavior.
I do not think LEGACY is useful at the moment, but I wanted to have
that option in case it turns out HHH-16572 does more harm than good in
Quarkus 3.15.
To unsubscribe from these emails, change your notification settings at
https://github.com/hibernate/hibernate-orm/settings/notifications