lenboo commented on a change in pull request #8515:
URL: https://github.com/apache/dolphinscheduler/pull/8515#discussion_r813636769



##########
File path: 
dolphinscheduler-dao/src/main/java/org/apache/dolphinscheduler/dao/datasource/SpringConnectionFactory.java
##########
@@ -58,12 +56,16 @@ public SqlSessionFactory sqlSessionFactory(DataSource 
dataSource) throws Excepti
         configuration.setCacheEnabled(false);
         configuration.setCallSettersOnNulls(true);
         configuration.setJdbcTypeForNull(JdbcType.NULL);
-        configuration.addInterceptor(paginationInterceptor());
+        configuration.setObjectWrapperFactory(new MybatisMapWrapperFactory());
+
+        MybatisPlusInterceptor mybatisPlusInterceptor = new 
MybatisPlusInterceptor();
+        mybatisPlusInterceptor.addInnerInterceptor(new 
PaginationInnerInterceptor());
+        mybatisPlusInterceptor.addInnerInterceptor(new 
OptimisticLockerInnerInterceptor());

Review comment:
       You are right, i will remove this.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to