![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
开发踩过的坑
hxy6
花若盛开,蝴蝶自来;你若精彩,天自安排!
展开
-
MySQL8小时连接超时断开问题
Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: The last packet successfully received from the server was 66,313,166 milliseconds ago. The last packet sent successfully to the server was 66,313,166 milliseconds ago. is longer than the s原创 2022-07-20 18:00:59 · 3073 阅读 · 0 评论 -
通过注解动态切换数据源失败“坑”
数据源切换失败“坑”原创 2022-04-12 17:09:27 · 1799 阅读 · 0 评论 -
使用ModelMapper踩过的坑
ModelMapper 是一个java对象自动映射的第三方架包。ModelMapper是一个从对象到对象(object-to-object)的框架,能将Java Bean(Pojo)对象从一种表现形式转化为另一种表现形式。它采用“通过约定来配置”的方式,自动匹配不同的对象映射,同时具备满足某些特殊需求的高级功能。在项目中很多时候需要把Model和DTO两个模型类来回转换,保证Model对外是隐...原创 2018-09-19 15:19:26 · 7910 阅读 · 1 评论