Skip to content

Commit 02ca1fe

Browse files
committed
HHH-19813: Fix the regression on the 'enableDirtyTracking' and 'enableLazyInitialization' default values and deprecate the setting
Signed-off-by: Koen Aers <koen.aers@gmail.com>
1 parent 0505a0d commit 02ca1fe

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

tooling/hibernate-maven-plugin/src/main/java/org/hibernate/orm/tooling/maven/HibernateEnhancerMojo.java

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,17 @@ public class HibernateEnhancerMojo extends AbstractMojo {
4646
required = true)
4747
private boolean enableAssociationManagement;
4848

49+
@Deprecated(
50+
forRemoval = true)
4951
@Parameter(
50-
defaultValue = "false",
52+
defaultValue = "true",
5153
required = true)
5254
private boolean enableDirtyTracking;
5355

56+
@Deprecated(
57+
forRemoval = true)
5458
@Parameter(
55-
defaultValue = "false",
59+
defaultValue = "true",
5660
required = true)
5761
private boolean enableLazyInitialization;
5862

0 commit comments

Comments
 (0)