![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
MyBatis
文章平均质量分 72
小鲫鱼0527
这个作者很懒,什么都没留下…
展开
-
Mybatis Generator在Intellij中的使用
1、使用Intellij新建一个空的Maven工程,在pom.xml中增加: org.mybatis.generator mybatis-generator-maven-plugin 1.3.2 true原创 2017-07-18 15:57:41 · 2526 阅读 · 1 评论 -
SpringBoot整合MyBatis
一、创建数据库spring_boot,并增加表: 二、使用Intellij Idea新建一个SpringBoot工程,起始依赖选择mysql、mybatis,其它按需选择 三、在配置文件 application.yml 中增加数据库信息: spring: datasource: url: jdbc:mysql://localhost:3306/sprin原创 2017-07-18 15:58:29 · 386 阅读 · 0 评论