You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@grails.apache.org by "jamesfredley (via GitHub)" <gi...@apache.org> on 2025/06/06 14:16:24 UTC
Re: [I] factory_class: 'org.hibernate.cache.ehcache.SingletonEhCacheRegionFactory' loads hibernate5 non-jakarta [grails-core]
jamesfredley commented on issue #14721:
URL: https://github.com/apache/grails-core/issues/14721#issuecomment-2949404754
Looking at profiles and forge we do not configure `factory_class ` in generated apps, so this is an issue for legacy apps where `factory_class: 'org.hibernate.cache.ehcache.SingletonEhCacheRegionFactory'` was configured manually.
After `org.ehcache:ehcache` is tested and works for Grails 7, I think we should update all of the following locations to recommend it instead. In the documentation I think we should steer users to jcache, but we might also keep the bit about hibernate ehcache for the end user that wants to stick with it.
https://github.com/search?q=repo%3Aapache%2Fgrails-core%20factory_class&type=code
forge has a feature for https://github.com/grails-plugins/grails-cache-ehcache/blob/master/build.gradle, but it is already using org.ehcache:ehcache ,It has not been updated for Grails 7.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@grails.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org