File tree Expand file tree Collapse file tree 1 file changed +0
-2
lines changed
src/main/java/org/mybatis/spring/mapper Expand file tree Collapse file tree 1 file changed +0
-2
lines changed Original file line number Diff line number Diff line change @@ -401,11 +401,9 @@ protected Set<BeanDefinitionHolder> doScan(String... basePackages) {
401401 boolean explicitFactoryUsed = false ;
402402 if (StringUtils .hasLength (MapperScannerConfigurer .this .sqlSessionFactoryBeanName )) {
403403 definition .getPropertyValues ().add ("sqlSessionFactory" , new RuntimeBeanReference (MapperScannerConfigurer .this .sqlSessionFactoryBeanName ));
404- definition .getPropertyValues ().add ("sqlSessionTemplate" , null );
405404 explicitFactoryUsed = true ;
406405 } else if (MapperScannerConfigurer .this .sqlSessionFactory != null ) {
407406 definition .getPropertyValues ().add ("sqlSessionFactory" , MapperScannerConfigurer .this .sqlSessionFactory );
408- definition .getPropertyValues ().add ("sqlSessionTemplate" , null );
409407 explicitFactoryUsed = true ;
410408 }
411409
You can’t perform that action at this time.
0 commit comments