From ab9913aa18cd003148e7e7c7e4c9cd7058cf8ca1 Mon Sep 17 00:00:00 2001 From: Rashidi Zin Date: Sat, 19 Jul 2025 23:01:51 +0800 Subject: [PATCH] Fix incorrect properties in docs --- data-jpa-hibernate-cache/README.adoc | 4 ++-- docs/modules/ROOT/pages/data-jpa-hibernate-cache.adoc | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/data-jpa-hibernate-cache/README.adoc b/data-jpa-hibernate-cache/README.adoc index be033e4..2c1f4a4 100644 --- a/data-jpa-hibernate-cache/README.adoc +++ b/data-jpa-hibernate-cache/README.adoc @@ -53,8 +53,8 @@ spring.jpa.properties.hibernate.cache.use_second_level_cache=true These properties configure Hibernate to: * Use JCache as the caching implementation (`hibernate.cache.region.factory_class=jcache`) -* Use the EhCache configuration file located at `/ehcache.xml` (`hibernate.javax.cache.uri=/ehcache.xml`) -* Use EhCache as the JCache provider (`hibernate.javax.cache.provider=org.ehcache.jsr107.EhcacheCachingProvider`) +* Use the EhCache configuration file located at `/ehcache.xml` (`hibernate.cache.jcache.uri=/ehcache.xml`) +* Use EhCache as the JCache provider (`hibernate.cache.jcache.provider=org.ehcache.jsr107.EhcacheCachingProvider`) * Enable the second-level cache (`hibernate.cache.use_second_level_cache=true`) === EhCache Configuration diff --git a/docs/modules/ROOT/pages/data-jpa-hibernate-cache.adoc b/docs/modules/ROOT/pages/data-jpa-hibernate-cache.adoc index 54eb15b..e93f462 100644 --- a/docs/modules/ROOT/pages/data-jpa-hibernate-cache.adoc +++ b/docs/modules/ROOT/pages/data-jpa-hibernate-cache.adoc @@ -51,8 +51,8 @@ spring.jpa.properties.hibernate.cache.use_second_level_cache=true These properties configure Hibernate to: * Use JCache as the caching implementation (`hibernate.cache.region.factory_class=jcache`) -* Use the EhCache configuration file located at `/ehcache.xml` (`hibernate.javax.cache.uri=/ehcache.xml`) -* Use EhCache as the JCache provider (`hibernate.javax.cache.provider=org.ehcache.jsr107.EhcacheCachingProvider`) +* Use the EhCache configuration file located at `/ehcache.xml` (`hibernate.cache.jcache.uri=/ehcache.xml`) +* Use EhCache as the JCache provider (`hibernate.cache.jcache.provider=org.ehcache.jsr107.EhcacheCachingProvider`) * Enable the second-level cache (`hibernate.cache.use_second_level_cache=true`) === EhCache Configuration