SpringBoot下MyBatis配置
yaml
mybatis:
type-aliases-package: org.xxx.xxx.domain
mapper-locations: classpath:mapper/*.xml
configuration:
map-underscore-to-camel-case: true #开启驼峰命名法
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl #控制台sql打印