diff --git a/pom.xml b/pom.xml index ddacec40..fc61af24 100644 --- a/pom.xml +++ b/pom.xml @@ -80,12 +80,14 @@ 3.5.1 1.3.2 1.3.5 - 3.1.2 + + 3.4.2 2.3.3 4.13.1 diff --git a/sqlhelper-examples/sqlhelper-examples-db/src/main/resources/test.h2.db b/sqlhelper-examples/sqlhelper-examples-db/src/main/resources/test.h2.db index aa4433a6..bd422ea0 100644 Binary files a/sqlhelper-examples/sqlhelper-examples-db/src/main/resources/test.h2.db and b/sqlhelper-examples/sqlhelper-examples-db/src/main/resources/test.h2.db differ diff --git a/sqlhelper-mybatisplus-spring-boot-starter/src/main/java/com/jn/sqlhelper/mybatisplus/spring/boot/autoconfigure/DynamicSqlSessionTemplateAutoConfiguration.java b/sqlhelper-mybatisplus-spring-boot-starter/src/main/java/com/jn/sqlhelper/mybatisplus/spring/boot/autoconfigure/DynamicSqlSessionTemplateAutoConfiguration.java index 66981e4d..a1948295 100644 --- a/sqlhelper-mybatisplus-spring-boot-starter/src/main/java/com/jn/sqlhelper/mybatisplus/spring/boot/autoconfigure/DynamicSqlSessionTemplateAutoConfiguration.java +++ b/sqlhelper-mybatisplus-spring-boot-starter/src/main/java/com/jn/sqlhelper/mybatisplus/spring/boot/autoconfigure/DynamicSqlSessionTemplateAutoConfiguration.java @@ -108,7 +108,8 @@ public MybatisPlusProperties cloneMybatisPlusProperties(@NonNull MybatisPlusProp globalConfig.setSqlInjector(gc.getSqlInjector()); globalConfig.setSuperMapperClass(gc.getSuperMapperClass()); globalConfig.setWorkerId(gc.getWorkerId()); - globalConfig.setSqlParserCache(gc.isSqlParserCache()); + // mybatis-plus高版本移除了 setSqlParserCache(), isSqlParserCache() + // globalConfig.setSqlParserCache(gc.isSqlParserCache()); props.setGlobalConfig(globalConfig); }