摘要: 集成MyBatis (1)在pom.xml中添加依赖 <!-- mybatis的起步依赖。包含了mybatis、mybatis-spring、spring-jdbc(事务要用到)的坐标 --> <dependency> <groupId>org.mybatis.spring.boot</groupI 阅读全文
posted @ 2020-02-08 20:36 chy_18883701161 阅读(1368) 评论(0) 推荐(0) 编辑
摘要: (1)在pom.xml中添加依赖 <!--spring-jdbc的依赖--> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-jdbc</artifactId> </de 阅读全文
posted @ 2020-02-08 10:44 chy_18883701161 阅读(1333) 评论(0) 推荐(0) 编辑