From 20500f17ae6e624723b880e40b1c8332560eb55b Mon Sep 17 00:00:00 2001 From: Vlad Mihalcea Date: Thu, 2 Feb 2017 09:34:06 +0200 Subject: [PATCH] HHH-11438 - Inconsistencies in the documentation for bytecode enhancement --- .../asciidoc/userguide/chapters/pc/BytecodeEnhancement.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/documentation/src/main/asciidoc/userguide/chapters/pc/BytecodeEnhancement.adoc b/documentation/src/main/asciidoc/userguide/chapters/pc/BytecodeEnhancement.adoc index 37438c9fc7..ccf69d6a98 100644 --- a/documentation/src/main/asciidoc/userguide/chapters/pc/BytecodeEnhancement.adoc +++ b/documentation/src/main/asciidoc/userguide/chapters/pc/BytecodeEnhancement.adoc @@ -136,7 +136,7 @@ enableLazyInitialization:: Whether enhancement for lazy attribute loading should enableDirtyTracking:: Whether enhancement for self-dirty tracking should be done. enableAssociationManagement:: Whether enhancement for bi-directional association management should be done. -The default value for all 3 configuration settings is `true` +The default value for all 3 configuration settings is `false` The `enhance { }` block is required in order for enhancement to occur. Enhancement is disabled by default in preparation for additions capabilities (hbm2ddl, etc) in the plugin. @@ -145,7 +145,7 @@ Enhancement is disabled by default in preparation for additions capabilities (hb ===== Maven plugin Hibernate provides a Maven plugin capable of providing build-time enhancement of the domain model as they are compiled as part of a Maven build. -See the section on the <> for details on the configuration settings. Again, the default for those 3 is `true`. +See the section on the <> for details on the configuration settings. Again, the default for those 3 is `false`. The Maven plugin supports one additional configuration settings: failOnError, which controls what happens in case of error. Default behavior is to fail the build, but it can be set so that only a warning is issued.