HHH-13755 Update Hibernate Gradle plugin in the documentation

This commit is contained in:
Davide D'Alto 2019-11-27 17:39:05 +00:00 committed by Sanne Grinovero
parent 7daf67172a
commit ca782f64b2
1 changed files with 7 additions and 3 deletions

View File

@ -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
}
}