-
-
Save zbo2018/34e1f56f4dd8b54eb2bef323a652182e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
如何设置spring boot集成 mybatis 然后sql语句打印到控制台,方便调试: | |
设置方法: | |
在application.properties文件中添加: | |
logging.level.com.zhangshitong.springbootModel.demo.mapper=DEBUG | |
'com.zhangshitong.springbootModel.demo.mapper'部分替换成自己项目XXXMapper.java(Dao)层所在的位置(包名) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment