wangdy 7 лет назад
Родитель
Сommit
3f8921f72b
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      src/main/resources/spring/context.xml

+ 1 - 0
src/main/resources/spring/context.xml

@@ -131,6 +131,7 @@
 				<prop key="hibernate.cache.provider_configuration_file_resource_path">classpath:spring/hibernate-redis.properties</prop>
 				<prop key="hibernate.cache.region.factory_class">org.hibernate.cache.redis.hibernate4.SingletonRedisRegionFactory
 				</prop>
+                <prop key="hibernate.cache.region_prefix">hibernate</prop>
 				<prop key="hibernate.cache.use_query_cache">true</prop>
 				<prop key="hibernate.cache.use_second_level_cache">true</prop>
 				<prop key="hibernate.generate_statistics">true</prop>