HelloWorld 开发者社区
数据库与数据工程
springboot集成mybatisplus
介绍: MybatisPlus(https://www.oschina.net/action/GoToLink?urlhttps%3A%2F%2Fgithub.com%2Fbaomidou%2Fmybatisplus)(简称MP)是一个 Mybatis(https://www.oschina.net/action/G
springboot通过VPN连接数据库的配置
因工作环境特殊,数据库环境需要通过【VPNXshell配置映射端口】访问,本地JavaWeb项目测试时需要连接数据库环境,mark配置如下:1\.VPN配置&登陆(自行解决)2.Xshell配置映射访问端口1)打开【会话】【属性】!(https://oscimg.oschina.net/oscnet/a052
springboot整合持久层技术(mysql驱动问题)
java.sql.SQLException:Theservertimezonevalue'�й���ʱ��'isunrecognizedorrepresentsmorethanonetimezone.YoumustconfigureeithertheserverorJDBCdriver(viathese
springboot整合redis缓存一些知识点
前言最近在做智能家居平台,考虑到家居的控制需要快速的响应于是打算使用redis缓存。一方面减少数据库压力另一方面又能提高响应速度。项目中使用的技术栈基本上都是大家熟悉的springboot全家桶,在springboot2.x以后操作redis的客户端推荐使用lettuce(生菜)取代jedis。jedis的劣势主要在于直连redis,又无法做到
springboot整合redis的错误记录
https://blog.csdn.net/CeliaTodd/article/details/104977577springboot整合redis的过程中,遇到Unabletoconnecttolocalhost:6379的异常问题.(redis是在Linux中启动的)注解:IP地址最开始用的是Linux的IP地址,这里显示是local
springboot整合redis
一、前提已经存在一个redissentinel集群,两个哨兵分别如下:/home/redissentinelcluster/sentinel1.conf!复制代码(https://oscimg.oschina.net/oscnet/badfb83ffaf047f68310cb8812ee3f6cdb9.gif)
springboot操作redis基础说明
软件环境:springboot1.5.2,redis3.2.1配置在application.properties,增加redis的配置,主要配置项包括redis的ip,端口,密码等,具体如下:\redisRedis数据库索引(默认为0)spring.redis.database0Redis服务器地址spring
springboot学习笔记2(拦截器,redis,授权登录,读取yml配置文件)
介绍一下springboot的一些自定义配置。自定义配置前,需要加入一些依赖,在学习笔记1中都要介绍1.使用springboot自定义拦截器。 首先自己一个拦截器:publicclassMyInterceptorimplementsHandlerInterceptor{@Override
springboot备份mysql后发送邮件并删除备份文件,支持win和Linux
首先加入springboot的邮箱依赖<!邮箱依赖<!https://mvnrepository.com/artifact/org.springframework.boot/springbootstartermail<dependency<groupIdorg.springf
springboot基础五:集成redis
!(https://oscimg.oschina.net/oscnet/c2334f690d4a45aba38809230b398773.png)前言在项目里redis作为缓存已经是国际惯例了,那springboot项目里如何能与redis集成进行使用呢?照着教程做吧配置1.引入pom
正在加载更多文章…
加载更多已加载文章中没有匹配内容,可继续加载更多。