摘要: top+嵌套查询 ROW_NUMBER()开窗函数(支持SqlServer 2005版本以上) offset fetch(SqlServer 2012 版本以上) top+嵌套查询 select top 10 * from BigDataTable where id not in(select to 阅读全文
posted @ 2023-06-29 10:14 tt1234 阅读(167) 评论(0) 推荐(0) 编辑
摘要: 2.17.0及之前的版本均存在高位漏洞,所以建议尽量使用较新版本,2.20.0目前没有漏洞描述 阅读全文
posted @ 2023-05-22 08:53 tt1234 阅读(39) 评论(0) 推荐(0) 编辑
摘要: 进入mysql命令行后 1、修改密码 mysql> alter user 'root'@'localhost' identified with mysql_native_password by '123456'; Query OK, 0 rows affected (0.01 sec) 注:在mys 阅读全文
posted @ 2022-06-15 10:13 tt1234 阅读(4091) 评论(0) 推荐(0) 编辑
摘要: 1、场景 项目中需要直连多个数据源,mysql可以,但是sqlserver提示错误 2、问题描述 16:49:59.835 [Druid-ConnectionPool-Create-329645619] ERROR com.alibaba.druid.pool.DruidDataSource - c 阅读全文
posted @ 2022-06-10 09:09 tt1234 阅读(932) 评论(0) 推荐(0) 编辑
摘要: 目前本版本的springboot是2.6.6,swagger是3.0.0; 1、pom依赖 <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> 阅读全文
posted @ 2022-04-07 14:02 tt1234 阅读(1154) 评论(1) 推荐(0) 编辑
摘要: 1、拉镜像 docker pull mysql:8.0.28 2、启动镜像 docker run -p 3306:3306 --name mysql -e MYSQL_ROOT_PASSWORD=123456 -d mysql:8.0.28 查看是否启动成功 docker ps -a 3、启动成功后 阅读全文
posted @ 2022-03-24 14:58 tt1234 阅读(617) 评论(0) 推荐(0) 编辑
摘要: Failed to start bean 'documentationPluginsBootstrapper'; nested exception is java.lang.NullPointerException: Cannot invoke "org.springframework.web.se 阅读全文
posted @ 2022-03-16 17:46 tt1234 阅读(375) 评论(0) 推荐(0) 编辑
摘要: SerializeFilter是通过编程扩展的方式定制序列化。Fastjson 支持6种 SerializeFilter,用于不同场景的定制序列化。 PropertyPreFilter:根据 PropertyName 判断是否序列化 PropertyFilter:根据 PropertyName 和 阅读全文
posted @ 2022-03-03 16:20 tt1234 阅读(548) 评论(0) 推荐(0) 编辑
摘要: 问题描述在springboot项目中整合swagger,总是会报错AbstractSerializableParameter: Illegal DefaultValue null for parameter type java.lang.NumberFormatException: For inpu 阅读全文
posted @ 2022-03-03 16:02 tt1234 阅读(629) 评论(0) 推荐(0) 编辑
摘要: 1、方案1(jsencrypt加密 java解密 ) 首先要了解到rsa加密后的byte数组类型需要base64加密才能变成String类型;解密的时候也是需要经过base64处理。同理,js这边rsa加密也是一样的,但是使用jsencrypt.js库人就不需要了,因为库里面会自动用base64处理 阅读全文
posted @ 2022-03-03 15:45 tt1234 阅读(5149) 评论(2) 推荐(0) 编辑