Fixed - compatibility with hibernate 5.2.0 - 5.2.4 versions. #1994

pull/2009/head
Nikita Koksharov 6 years ago
parent da7ebb5b71
commit a2cf0e26e2

@ -94,7 +94,7 @@ public class RedissonRegionFactory implements RegionFactory {
StrategySelector selector = settings.getServiceRegistry().getService(StrategySelector.class); StrategySelector selector = settings.getServiceRegistry().getService(StrategySelector.class);
cacheKeysFactory = selector.resolveDefaultableStrategy(CacheKeysFactory.class, cacheKeysFactory = selector.resolveDefaultableStrategy(CacheKeysFactory.class,
properties.get(Environment.CACHE_KEYS_FACTORY), DefaultCacheKeysFactory.INSTANCE); properties.get(Environment.CACHE_KEYS_FACTORY), new DefaultCacheKeysFactory());
} }
protected RedissonClient createRedissonClient(Properties properties) { protected RedissonClient createRedissonClient(Properties properties) {

Loading…
Cancel
Save