This commit is contained in:
2023-09-11 21:33:44 +08:00
parent f1e97f1e35
commit bb0a38ebb4

View File

@@ -28,6 +28,7 @@ public class HibernateConfig {
hibernateProperties.put(AvailableSettings.DIALECT, MyPostgreSQLDialect.class.getCanonicalName());
// <property name="hibernate.cache.region.factory_class" value="org.redisson.hibernate.RedissonRegionFactory" />
hibernateProperties.put("hibernate.cache.region.factory_class", myRedissonRegionFactory);
hibernateProperties.put("hibernate.cache.use_structured_entries", true);
// hibernateProperties.put(AvailableSettings.SCHEMA_MANAGEMENT_TOOL, MultithreadHibernateSchemaManagementTool.class.getCanonicalName());
/**