首页 > 数据库技术 > 详细

yml的mybatis的sql查看;Mybatis+Springboot 控制台查看日志,Mybatis结合springboot打印日志

时间:2018-07-08 10:32:17      阅读:787      评论:0      收藏:0      [点我收藏+]

1.配置如图

技术分享图片

文件为yml

技术分享图片
1 mybatis:
2   mapper-locations: classpath:com/springboot/transaction/mapper/*.xml
3   configuration:
4     log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
View Code

打印效果:

技术分享图片

 

yml的mybatis的sql查看;Mybatis+Springboot 控制台查看日志,Mybatis结合springboot打印日志

原文:https://www.cnblogs.com/liuyangfirst/p/9279119.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!