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

posted @ 2019-12-19 16:04  1192371135  阅读(5011)  评论(0编辑  收藏  举报