![](https://img-blog.csdnimg.cn/20190422122233188.png?x-oss-process=image/resize,m_fixed,h_224,w_224)
持久层研究探索
介绍mysql redis mybatis mybatisplus jpa
班门的大鱼
没有比学知识就能涨工资更直接更容易把握的事
展开
-
JPA之一:基础和实战
现在使用jpa的项目越来越多,它是封装的hibernate的高级类库,快捷的开发模式,让程序员脱离繁琐的sql语句,会让你爱不释手,下面进行介绍jpa的使用方法,让你快速入门1.使用jpa的项目结构 ![基本上关于jpa的文件就这几个](https://img-blog.csdnimg.cn/2018112610430698.png)下面进行按步骤介绍:.yml-----entity---...原创 2018-11-27 12:14:36 · 794 阅读 · 0 评论 -
JPA之二:分页和模糊查询
模糊查询需要Repository接口继承JpaSpecificationExecutor接口该接口含方法:Page findAll(Specification spec,Pageable pageable);//分页加条件List findAll(Specification spec);//条件List findAll(Specification spec,Sort sort);//条件加...原创 2019-04-24 11:27:44 · 1946 阅读 · 0 评论 -
MybatisPlus之一:分页加条件查询
本文主要介绍三个框架各自的条件加分页查询的实现过程第一部分:JPA的模糊条件查询加分页模糊查询需要Repository接口继承JpaSpecificationExecutor接口该接口含方法:Page findAll(Specification spec,Pageable pageable);//分页加条件List findAll(Specification spec);//条件Lis...原创 2019-03-22 11:17:34 · 13904 阅读 · 0 评论 -
Mycat数据库中间件的使用教程
这是篇实战的教程,关于mycat的优点理论请自行百度第一步:下载mycat,上传到服务器,建议放在/usr/local/mycat 下载地址:http://dl.mycat.io/1.6-RELEASE/ 进入mycat bin输入命令./mycat start mycat默认的端口是:8066第二步: 准备好了mycat,下面介绍数据的分片知识 ...原创 2019-03-25 13:17:36 · 250 阅读 · 0 评论