上一页 1 2 3 4 5 6 7 ··· 15 下一页
摘要: 解决方案: 配置文件里加: spring.jpa.properties.hibernate.hbm2ddl.auto=update 阅读全文
posted @ 2023-02-09 15:05 镇魂帆-张 阅读(61) 评论(0) 推荐(0) 编辑
摘要: 本文摘录 apollo源码采用的是jpa规范 Hibernate 进行持久化的ORM框架 解决思路: 思路一:使用jpa配置文件persistence.xml文件,根据使用的数据库动态加载实体类与数据库中实体类的映射关系,因此可以完全是用xml实现 思路二:由于xml配置的优先级高于注解配置,如果项 阅读全文
posted @ 2023-02-06 08:58 镇魂帆-张 阅读(197) 评论(0) 推荐(0) 编辑
摘要: 是因为 存储过程/存储函数在创建时 与 开启慢查询日志冲突了 解决冲突: 临时解决:开启log_bin_trust_function_creators show variables like '%log_bin_trust_function_creators%'; set global log_bi 阅读全文
posted @ 2022-12-05 09:06 镇魂帆-张 阅读(100) 评论(0) 推荐(0) 编辑
摘要: oracle执行报错 ORA-06502: PL/SQL: numeric or value error: character string buffer too small ORA-06512: at "WMSYS.WM_CONCAT_IMPL", line 30 ###错误原因 因为sql中使用 阅读全文
posted @ 2022-11-25 14:59 镇魂帆-张 阅读(1157) 评论(0) 推荐(0) 编辑
摘要: 解决方法: logging: level: com: alibaba: nacos: client: error 阅读全文
posted @ 2022-11-16 08:59 镇魂帆-张 阅读(283) 评论(0) 推荐(0) 编辑
摘要: 文摘 问题描述 当用feign client远程调用时,返回的复杂对象反序列化报错。 错误信息: Caused by: com.fasterxml.jackson.databind.exc.MismatchedInputException: Cannot deserialize instance o 阅读全文
posted @ 2022-11-08 10:06 镇魂帆-张 阅读(3124) 评论(0) 推荐(0) 编辑
摘要: [参考资料](Tinyproxy安装与配置(ip代理) - 林先生 (downdawn.com)) 1.一键安装脚本 vim proxy.sh #! /bin/bash # 配置文件 CONFIG_FILE="/etc/tinyproxy/tinyproxy.conf" # 下载 wget -P / 阅读全文
posted @ 2022-10-19 15:19 镇魂帆-张 阅读(835) 评论(0) 推荐(0) 编辑
摘要: 解决方案:有个谷歌浏览器插件,好像是什么淘宝的,删掉即可 阅读全文
posted @ 2022-10-14 09:19 镇魂帆-张 阅读(95) 评论(0) 推荐(0) 编辑
摘要: 最近在学习mysql 调优,学习explain执行计划,为了模拟出type=system或const,我创建了一张表test(id,name),id为主键,里面放了一条数据 执行 EXPLAIN SELECT * FROM (SELECT * FROM test WHERE id=1)t ; 结果是 阅读全文
posted @ 2022-10-11 15:10 镇魂帆-张 阅读(133) 评论(0) 推荐(0) 编辑
摘要: SpringCloud Alibaba从Nacos读取配置文件。 在开发工具运行,没有问题,正常启动。 打包后,jar包启动 xxxx.jar,出现错误: 2022-10-11 11:20:25.289 ERROR 7248 [ main] c.a.c.n.c.NacosPropertySource 阅读全文
posted @ 2022-10-11 11:22 镇魂帆-张 阅读(596) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 15 下一页