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

猜你喜欢

转载自www.cnblogs.com/liangmm/p/12068364.html
今日推荐