HHH-12177 - Update migration guide

This commit is contained in:
Andrea Boriero 2017-12-20 15:21:16 +00:00 committed by Steve Ebersole
parent 1e4d483e73
commit 02e8b95f5b
1 changed files with 13 additions and 0 deletions

View File

@ -35,3 +35,16 @@ Previous versions of Hibernate instead stored the next value to be used.
For backward compatibility a new setting, `hibernate.id.generator.stored_last_used`, has been introduced that gives the opportunity to fall back to the old Hibernate behaviour.
Existing applications migrating to 5.3 and using @TableGenerator have to set `hibernate.id.generator.stored_last_used` to `false`.
== Drop hibernate-infinispan module
Support for using Infinispan as a Hibernate 2nd level cache provider has been moved to the Infinispan project so
the hibernate-infinispan module has been dropped.
A relocation pom pointing to `org.infinispan:infinispan-hibernate-cache` is now produced avoiding fro 5.3 the need to update any library dependency.
The relocation pom may be dropped in a future release.
The infinispan support introduced a change in the package structure that requires
changing the config parameter `hibernate.cache.region.factory_class` from `org.hibernate.cache.infinispan.InfinispanRegionFactory` to `org.infinispan.cache.hibernate.InfinispanRegionFactory`
A request for adding backward compatibility RegionFacotry classes is open https://issues.jboss.org/browse/ISPN-8638.