mybatis 配置yml 查看sql日志

在这里插入图片描述

mybatis:
  mapper-locations: classpath:mybatis/*.xml
  configuration:
      log-impl: org.apache.ibatis.logging.stdout.StdOutImpl 

ps: 两个冒号不能写在一行

发布了69 篇原创文章 · 获赞 14 · 访问量 2万+

猜你喜欢

转载自blog.csdn.net/weixin_41147129/article/details/103471735