摘要:
记录一下安装wsl2的步骤。 安装WSL 1.检查更新win10版本 在cmd中使用winver命令来检查当前win的版本,如果版本太低,可以在 设置 - 更新和安全 - Windows 更新中更新。但是有时候会没有提示能更新到最新的版本,那就可以使用微软提供的更新助手。 版本要求如上,如果没有别的 阅读全文
摘要:
工作中一段时间对数据统计操作比较多,总结了部分常用到的Stream流操作。 1. 过滤并判空 //String fundCode,List<GuaranteeSystemBIDataDetailStatistic> totalSealedStatistics Optional<GuaranteeSy 阅读全文
摘要:
SHOW VARIABLES LIKE '%timeout%'; 使用如上命令可以查询MySQL的超时参数配置,可以看到超时参数还是较多的,下面解释一下主要参数的作用。 1. connect_time connect_timeout指的是连接过程中握手的超时时间,即MySQL客户端在尝试与MySQL 阅读全文
摘要:
1. 前言 ShardingSphere-JDBC 是 Apache ShardingSphere 的第一个产品,也是 Apache ShardingSphere 的前身。 定位为轻量级 Java 框架,在 Java 的 JDBC 层提供的额外服务。 它使用客户端直连数据库,以 jar 包形式提供服 阅读全文