Upgrade to Hibernate 6.1.1.Final
This commit makes the following potentially breaking changes: - Dependency management for modules that do not exist in Hibernate 6.1 has been removed. - Hibernate's modules are now in the org.hibernate.orm group. Users not using the starter or using modules that are not in the starter will have to update their build configuration accordingly. - spring.jpa.hibernate.use-new-id-generator-mappings has been removed as Hibernate no longer supports switching back to the old ID generator mappings. Co-authored-by: Andy Wilkinson <wilkinsona@vmware.com> Closes gh-31674
This commit is contained in:
committed by
Andy Wilkinson
parent
beb40eaaf6
commit
b10c57551c
@@ -246,7 +246,7 @@ See {spring-boot-autoconfigure-module-code}/orm/jpa/HibernateJpaAutoConfiguratio
|
||||
Hibernate {hibernate-docs}#caching[second-level cache] can be configured for a range of cache providers.
|
||||
Rather than configuring Hibernate to lookup the cache provider again, it is better to provide the one that is available in the context whenever possible.
|
||||
|
||||
To do this with JCache, first make sure that `org.hibernate:hibernate-jcache` is available on the classpath.
|
||||
To do this with JCache, first make sure that `org.hibernate.orm:hibernate-jcache` is available on the classpath.
|
||||
Then, add a `HibernatePropertiesCustomizer` bean as shown in the following example:
|
||||
|
||||
include::code:MyHibernateSecondLevelCacheConfiguration[]
|
||||
|
||||
Reference in New Issue
Block a user