摘要: 一、准备工作 首先整合使用Spring整合MyBatis。 可参阅:SpringBoot整合MyBatis SpringBoot整合MyBatis完后后,我们需要在pom.xml中添加缓存相关的依赖。 <!-- cache --> <dependency> <groupId>org.springfr 阅读全文
posted @ 2020-02-23 19:29 gcmh 阅读(576) 评论(0) 推荐(0) 编辑
摘要: 一、准备工作 首先创建一个空工程,然后在该空工程创建一个模块(选择Spring Initializal),选择Spring Data Redis依赖。 pomx.xml <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://mav 阅读全文
posted @ 2020-02-23 19:28 gcmh 阅读(186) 评论(0) 推荐(0) 编辑