上一页 1 2 3 4 5 6 7 8 9 ··· 65 下一页
摘要: 1. 设置源库数据库连接-高级,在最底下空白处输入set names utf8; 注意分号也需要 2. 选项-命名参数,增加characterEncoding=utf8 3. 编辑Spoon.bat,添加"-Dfile.encoding=UTF-8",重启 if "%PENTAHO_DI_JAVA_ 阅读全文
posted @ 2022-01-01 11:24 雪山上的蒲公英 阅读(3563) 评论(0) 推荐(0)
摘要: @Before("execution(* com.sina.finance.guarantee.core.controller..*.*Controller.*(..)) && !execution(* com.sina.finance.guarantee.core.controller..*.*C 阅读全文
posted @ 2021-12-07 16:29 雪山上的蒲公英 阅读(1584) 评论(0) 推荐(0)
摘要: 报错原因: 在MySQL 5.7 版本及以上版本会出现的问题该问题,原因为MySQL 5.7版本默认的sql配置是:sql_mode="ONLY_FULL_GROUP_BY",这个配置严格执行了"SQL92标准"。 因此对于GROUP BY聚合操作,如果在SELECT中的列,没有在GROUP BY中 阅读全文
posted @ 2021-11-20 12:47 雪山上的蒲公英 阅读(16571) 评论(0) 推荐(0)
摘要: 解决方法:启动类代码中添加如下 阅读全文
posted @ 2021-11-10 16:52 雪山上的蒲公英 阅读(732) 评论(0) 推荐(0)
摘要: 查询mysql数据报错: org.springframework.dao.RecoverableDataAccessException:### Error querying database. Cause: com.mysql.jdbc.exceptions.jdbc4.Communications 阅读全文
posted @ 2021-10-14 17:35 雪山上的蒲公英 阅读(7322) 评论(0) 推荐(0)
摘要: java.lang.RuntimeException: org.springframework.dao.DataIntegrityViolationException: Error attempting to get column 'CHECK_KEY' from result set. Cause 阅读全文
posted @ 2021-09-27 20:07 雪山上的蒲公英 阅读(3333) 评论(0) 推荐(0)
摘要: 记录一下安装wsl2的步骤。 安装WSL 1.检查更新win10版本 在cmd中使用winver命令来检查当前win的版本,如果版本太低,可以在 设置 - 更新和安全 - Windows 更新中更新。但是有时候会没有提示能更新到最新的版本,那就可以使用微软提供的更新助手。 版本要求如上,如果没有别的 阅读全文
posted @ 2021-09-11 19:51 雪山上的蒲公英 阅读(2085) 评论(0) 推荐(2)
摘要: 工作中一段时间对数据统计操作比较多,总结了部分常用到的Stream流操作。 1. 过滤并判空 //String fundCode,List<GuaranteeSystemBIDataDetailStatistic> totalSealedStatistics Optional<GuaranteeSy 阅读全文
posted @ 2021-07-22 14:15 雪山上的蒲公英 阅读(174) 评论(0) 推荐(0)
摘要: SHOW VARIABLES LIKE '%timeout%'; 使用如上命令可以查询MySQL的超时参数配置,可以看到超时参数还是较多的,下面解释一下主要参数的作用。 1. connect_time connect_timeout指的是连接过程中握手的超时时间,即MySQL客户端在尝试与MySQL 阅读全文
posted @ 2021-07-05 21:03 雪山上的蒲公英 阅读(4450) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2021-01-09 15:09 雪山上的蒲公英 阅读(213) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 9 ··· 65 下一页
/* 返回顶部代码 */