File tree Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Original file line number Diff line number Diff line change @@ -789,3 +789,34 @@ We recommend using https://github.com/agroal/agroal[Agroal] or https://github.co
789789Alternatively, you may implement the `ConnectionProvider` interface to integrate the connection pool of your choice.
790790In fact, some connection pools already include their own implementations of `ConnectionProvider`.
791791
792+ [[maven-plugin-changes]]
793+ == Changes to the Maven Plugin
794+
795+ The Maven bytecode enhancement plugin has been completely rewritten since version 7.0. The change that has the
796+ biggest consequence is that the artefactId and groupId of the Maven artefact has changed. As of now, you will
797+ need to include the plugin in the build section in your Maven pom file as illustrated below.
798+
799+ ```
800+ <plugin>
801+ <groupId>org.hibernate.orm</groupId>
802+ <artifactId>hibernate-maven-plugin</artifactId>
803+ <version>$currentHibernateVersion</version>
804+ <executions>
805+ <execution>
806+ <configuration>
807+ <enableLazyInitialization>true</enableLazyInitialization>
808+ <enableDirtyTracking>true</enableDirtyTracking>
809+ </configuration>
810+ <goals>
811+ <goal>enhance</goal>
812+ </goals>
813+ </execution>
814+ </executions>
815+ </plugin>
816+ ```
817+
818+ Also, because of a regression and in contrast with the corresponding Ant task and Gradle plugin, the default values
819+ of the `enableLazyInitialization` and `enableDirtyTracking` are set to `false` while it used to be `true`. This will
820+ be reverted in future versions.
821+
822+ The documentation in the userguide has been rewritten accordingly and completed with more examples.
You can’t perform that action at this time.
0 commit comments