Skip to content

Commit ab7ad35

Browse files
committed
update ehcache,add use_get_generated_keys config for dameng
1 parent 1baa760 commit ab7ad35

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

publiccms-parent/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ subprojects {
5757
// 6.1,7,8 for jakarta
5858
hibernateValidatorVersion = "6.0.23.Final"
5959
// https://mvnrepository.com/artifact/org.ehcache/ehcache
60-
ehcacheVersion = "3.10.8"
60+
ehcacheVersion = "3.11.1"
6161
// http://mvnrepository.com/artifact/org.mybatis/mybatis
6262
mybatisVersion = "3.5.19"
6363
// http://mvnrepository.com/artifact/org.mybatis/mybatis-spring

publiccms-parent/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
<!-- https://mvnrepository.com/artifact/org.mybatis.dynamic-sql/mybatis-dynamic-sql -->
6363
<version.dynamicSql>1.5.2</version.dynamicSql>
6464
<!-- https://mvnrepository.com/artifact/org.ehcache/ehcache -->
65-
<version.ehcache>3.10.8</version.ehcache>
65+
<version.ehcache>3.11.1</version.ehcache>
6666
<!-- http://mvnrepository.com/artifact/com.fasterxml.jackson.core/jackson-databind -->
6767
<!-- 3.0 for Java 17+ -->
6868
<version.jackson>2.20.1</version.jackson>

publiccms-parent/publiccms/src/main/resources/config/hibernate.properties

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ hibernate.highlight_sql=false
1212
hibernate.query.substitutions=true 1, false 0
1313
hibernate.jdbc.fetch_size=50
1414
hibernate.jdbc.batch_size=50
15+
##dialect dameng
16+
#hibernate.jdbc.use_get_generated_keys=true
1517
hibernate.transaction.coordinator_class=jdbc
1618
hibernate.cache.use_query_cache=true
1719
hibernate.cache.use_second_level_cache=true

0 commit comments

Comments
 (0)