SpringBoot整合Mybatis(使用配置文件方式)

1.首先看下一下maven的依赖,主要是mybatis依赖,mysql驱动,以及之后测试使用的依赖spring-boot-test <!--mybatis依赖包--> <dependency> <groupId>org.mybatis.spring.boot</groupId> <artifactId>mybatis-spring-boot-starter</artifactId>
相关文章
相关标签/搜索