Open
Description
Document this in the upgrade guide.
When factory_class: 'org.hibernate.cache.ehcache.SingletonEhCacheRegionFactory'
is present in application.yml
, the org.hibernate:hibernate-ehcache dependency is loaded with the non-jakarta version of hibernate-core
which causes method not found errors given Grails 7 uses the Jakarta version.
hibernate:
allow_update_outside_transaction: true
cache:
queries: false
use_second_level_cache: true
use_query_cache: false
region:
factory_class: 'org.hibernate.cache.ehcache.SingletonEhCacheRegionFactory'
The workaround is to define the org.hibernate:hibernate-ehcache dependency directly with the exclude, but we need to identify what is loading it and attempt to exclude the non-jakarta version of hibernate-core by default.
Metadata
Metadata
Assignees
Type
Projects
Status