logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

spring boot 中分页插件PageHelper的使用

PageHelper它的优缺点:优点:封装分页sql,使我们不需要每个地方都去写分页的查询语句;同时,使我们select的sql语句向下兼容,换了数据库也不需要更改sql代码。缺点:pagehelper数据量达到一定数量时limit分页时会特别慢,count(*)会把数据库卡死。(1)加入PageHelper的启动依赖<dependency><groupId>com.git

#java
org.springframework.data.redis.RedisSystemException: Error in execution; nested exception is io.lett

org.springframework.data.redis.RedisSystemException: Error in execution; nested exception is io.lettuce.core.RedisCommandExecutionException: WRONGTYPE Operation against a key holding the wrong kind of

#redis#java#spring boot
nacos简单介绍

1. nacos简介Nacos 致力于帮助您发现、配置和管理微服务。Nacos 提供了一组简单易用的特性集,帮助您快速 实现动态服务发现、服务配置、服务元数据及流量管理。从上面的介绍就可以看出,nacos的作用就是一个注册中心,用来管理注册上来的各个微服务。2. nacos实战入门接下来,我们就在现有的环境中加入nacos,并将我们的两个微服务注册上去。2.1 搭建nacos环境第1步: 安装na

#java#spring#spring boot +1
到底了