SpringBoot调用mybatis-config.xml的方法

在application.properties中如做下调用:

## Mybatis 
mybatis.config-location=classpath:mybatis/mybatis-config.xml
mybatis.mapper-locations=classpath:mybatis/mapper/*.xml
mybatis.typeAliasesPackage=com.vcarecity.ipc.model
logging.level.TAlarmInformationMapper=debug

原文地址:https://www.cnblogs.com/liangmm/p/12068364.html