From 05c5d361aab21d95115fcd9806cbca60be35f8f5 Mon Sep 17 00:00:00 2001 From: Nikita Koksharov Date: Tue, 3 Mar 2020 11:01:13 +0300 Subject: [PATCH 1/2] Update README.md --- redisson-hibernate/README.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/redisson-hibernate/README.md b/redisson-hibernate/README.md index 47013de52..b92196132 100644 --- a/redisson-hibernate/README.md +++ b/redisson-hibernate/README.md @@ -4,7 +4,7 @@ Implements [Hibernate 2nd level Cache](https://docs.jboss.org/hibernate/orm/5.4/ Supports all Hibernate cache strategies: `READ_ONLY`, `NONSTRICT_READ_WRITE`, `READ_WRITE` and `TRANSACTIONAL`. It's recommended to use FST or Snappy as [codec](https://github.com/redisson/redisson/wiki/4.-data-serialization). -Compatible with Hibernate 5.3.3+ up to 5.4.x +Compatible with Hibernate 5.2.x and 5.3.3+ up to 5.4.x Redisson provides various Hibernate Cache factories including those with features below: @@ -30,17 +30,21 @@ Maven ```xml org.redisson + + redisson-hibernate-52 redisson-hibernate-53 - 3.12.2 + 3.12.3 ``` Gradle ```groovy + // for Hibernate v5.2.x + compile 'org.redisson:redisson-hibernate-52:3.12.3' // for Hibernate v5.3.3+ - v5.4.x - compile 'org.redisson:redisson-hibernate-53:3.12.2' + compile 'org.redisson:redisson-hibernate-53:3.12.3' ``` ### 2. Specify hibernate cache settings From f89fecda0687e7becc1920f23de095529939bb84 Mon Sep 17 00:00:00 2001 From: Nikita Koksharov Date: Wed, 4 Mar 2020 09:05:55 +0300 Subject: [PATCH 2/2] Update README.md --- redisson-hibernate/README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/redisson-hibernate/README.md b/redisson-hibernate/README.md index b92196132..491057a0b 100644 --- a/redisson-hibernate/README.md +++ b/redisson-hibernate/README.md @@ -97,6 +97,8 @@ By default each Region Factory creates own Redisson instance. For multiple appli `hibernate.cache.redisson.[REGION_NAME].expiration.max_idle_time` - max idle time per cache entry in Redis. Defined in milliseconds. `0` value means this setting doesn't affect expiration. Default value: 0 +`hibernate.cache.redisson.[REGION_NAME].localcache.cache_provider` - Defines Cache provider used as local cache store. REDISSON and CAFFEINE providers are available. Default value: `REDISSON` + `hibernate.cache.redisson.[REGION_NAME].localcache.max_idle_time` - max idle time per entry in local cache. Defined in milliseconds. `0` value means this setting doesn't affect expiration. Default value: 0 `hibernate.cache.redisson.[REGION_NAME].localcache.time_to_live` - time to live per entry in local cache. Defined in milliseconds. `0` value means this setting doesn't affect expiration. Default value: 0