Spring Boot系列(十) 持久层框架--Mybatis
在Spring Boot中集成MyBatis,可以选用基于注解的方式,也可以选择xml文件配置的方式。在这里使用基于注解的方式进行集成。引入mybatis-spring-boot-starter<dependency> <groupId>org.mybatis.spring.boot</groupId> <artifactId>mybatis-spring-boot-starter
原创
2016-09-03 17:00:23 ·
3971 阅读 ·
0 评论