![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Mybatis
知识追求者
这个作者很懒,什么都没留下…
展开
-
springboot+mybatis在控制台打印sql语句
1、在application.properties中添加如下配置,即可在控制台打印sql语句# 打印 SQL 日志mybatis.configuration.log-impl = org.apache.ibatis.logging.stdout.StdOutImpl2、控制台输出效果...原创 2019-11-24 21:12:36 · 1421 阅读 · 0 评论 -
SpringBoot整合Mybatis自动建表
运行环境jdk版本:jdk1.8.0_202springboot版本:2.1.6代码实现1、在pom.xml中添加依赖包 <!--Mybatis自动建表 --> <dependency> <groupId>com.gitee.sunchenbin.mybatis.actable</group...原创 2019-10-14 23:21:49 · 1432 阅读 · 0 评论