From ca782f64b2bdbdde5a1fddd4287f64c879a648fb Mon Sep 17 00:00:00 2001 From: Davide D'Alto Date: Wed, 27 Nov 2019 17:39:05 +0000 Subject: [PATCH] HHH-13755 Update Hibernate Gradle plugin in the documentation --- .../userguide/chapters/pc/extras/gradle-example.gradle | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/documentation/src/main/asciidoc/userguide/chapters/pc/extras/gradle-example.gradle b/documentation/src/main/asciidoc/userguide/chapters/pc/extras/gradle-example.gradle index 81e8fcbd65..14083ae580 100644 --- a/documentation/src/main/asciidoc/userguide/chapters/pc/extras/gradle-example.gradle +++ b/documentation/src/main/asciidoc/userguide/chapters/pc/extras/gradle-example.gradle @@ -1,3 +1,5 @@ +apply plugin: 'org.hibernate.orm' + ext { hibernateVersion = 'hibernate-version-you-want' } @@ -9,7 +11,9 @@ buildscript { } hibernate { - enhance { - // any configuration goes here - } + enhance { + enableLazyInitialization = true + enableDirtyTracking = true + enableAssociationManagement = true + } } \ No newline at end of file