You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: grails-doc/src/en/guide/upgrading/upgrading60x.adoc
+6-2Lines changed: 6 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -480,13 +480,17 @@ You will need to change it to `jcache` and add the Ehcache dependency as follows
480
480
use_second_level_cache: true
481
481
use_query_cache: false
482
482
region:
483
-
factory_class: 'jcache'
483
+
factory_class: 'jcache'
484
484
----
485
485
486
486
[source,groovy]
487
487
.build.gradle
488
488
----
489
-
implementation 'org.ehcache:ehcache'
489
+
implementation 'org.ehcache:ehcache', {
490
+
capabilities {
491
+
requireCapability('org.ehcache:ehcache-jakarta')
492
+
}
493
+
}
490
494
----
491
495
492
496
Alternatively, you can define the hibernate-ehcache dependency explicitly and adjust it to exclude `hibernate-core` and add the `jboss-transaction-api_1.3_spec` see link:upgrading.html#_12_5_hibernate_ehcache[Hibernate-ehcache]
0 commit comments