|
|
@@ -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>
|