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) {
401
401
boolean explicitFactoryUsed = false ;
402
402
if (StringUtils .hasLength (MapperScannerConfigurer .this .sqlSessionFactoryBeanName )) {
403
403
definition .getPropertyValues ().add ("sqlSessionFactory" , new RuntimeBeanReference (MapperScannerConfigurer .this .sqlSessionFactoryBeanName ));
404
- definition .getPropertyValues ().add ("sqlSessionTemplate" , null );
405
404
explicitFactoryUsed = true ;
406
405
} else if (MapperScannerConfigurer .this .sqlSessionFactory != null ) {
407
406
definition .getPropertyValues ().add ("sqlSessionFactory" , MapperScannerConfigurer .this .sqlSessionFactory );
408
- definition .getPropertyValues ().add ("sqlSessionTemplate" , null );
409
407
explicitFactoryUsed = true ;
410
408
}
411
409
You can’t perform that action at this time.
0 commit comments