diff --git a/hibernate-ehcache/src/main/java/org/hibernate/cache/ehcache/ConfigSettings.java b/hibernate-ehcache/src/main/java/org/hibernate/cache/ehcache/ConfigSettings.java index 9d6e5d2028..aa9d146a56 100644 --- a/hibernate-ehcache/src/main/java/org/hibernate/cache/ehcache/ConfigSettings.java +++ b/hibernate-ehcache/src/main/java/org/hibernate/cache/ehcache/ConfigSettings.java @@ -15,7 +15,7 @@ public interface ConfigSettings { String PROP_PREFIX = "hibernate.cache.ehcache."; /** - * Allows providing `hibernate-jcache` with a custom JCache {@link CacheManager}. + * Allows providing `hibernate-ehcache` with a custom Ehcache {@link CacheManager}. */ String CACHE_MANAGER = PROP_PREFIX + "cache_manager"; diff --git a/hibernate-ehcache/src/main/java/org/hibernate/cache/ehcache/internal/EhcacheRegionFactory.java b/hibernate-ehcache/src/main/java/org/hibernate/cache/ehcache/internal/EhcacheRegionFactory.java index 9e41f91993..61ce9ad77f 100644 --- a/hibernate-ehcache/src/main/java/org/hibernate/cache/ehcache/internal/EhcacheRegionFactory.java +++ b/hibernate-ehcache/src/main/java/org/hibernate/cache/ehcache/internal/EhcacheRegionFactory.java @@ -103,7 +103,7 @@ public class EhcacheRegionFactory extends RegionFactoryTemplate { } protected Cache createCache(String regionName) { - throw new CacheException( "On-the-fly creation of JCache Cache objects is not supported [" + regionName + "]" ); + throw new CacheException( "On-the-fly creation of Ehcache Cache objects is not supported [" + regionName + "]" ); }