Mybatis教程-实战看这一篇就够了
转自: https://blog.csdn.net/hellozpc/article/details/80878563 1.从JDBC谈起 1.1.使用IDEA创建maven工程 <div align=center> <img src="https://img2018.cnblogs.com/blog/1456626/201903/1456626-20190327200504300-1646561105.png" data-action="zoom"/> </div> <div align=center> <img src="https://img2018.cnblogs.com/blog/1456626/201903/1456626-20190327200519165-262073418.png" data-action="zoom"/> </div> <div align=center> <img src="https://img2018.cnblogs.com/blog/1456626/201903/1456626-20190327200526212-1288959203.png" data-action="zoom"/> </div> 1.2.引入mysql依赖包 <dependency> <groupId>mysql</groupId> <artifactId>mysql