会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
博主首页
笑~笑
博客园
新随笔
联系
管理
上一页
1
···
4
5
6
7
8
9
10
11
12
···
47
下一页
2023年11月30日
logback丢失日志
摘要: 问题描述、现象 项目正常运行 日志文件生成以及文件名都看不出来问题 日志里记录的信息也可以记录完整的每次请求记录 偶尔随机丢失一次或者多次完整的请求记录,与没有收到用户请求情况相同 问题排查 排除AsyncAppender的丢失机制导致,可以将日志记录方式先改为同步方式或者discardThresh
阅读全文
posted @ 2023-11-30 10:27 笑~笑
阅读(623)
评论(0)
推荐(0)
2023年10月11日
查询数据库慢排查、获取当前数据库连接数,sql执行很快但是日志记录接口确很慢
摘要: 获取当前数据库连接数 @Resource private DruidDataSource druidDataSource; int activeCount = druidDataSource.getActiveCount(); int activePeak = druidDataSource.get
阅读全文
posted @ 2023-10-11 14:10 笑~笑
阅读(136)
评论(0)
推荐(0)
2023年9月22日
idea查询maven依赖情况
摘要: 排除依赖 <exclusions> <exclusion> <groupId>org.slf4j</groupId> <artifactId>slf4j-simple</artifactId> </exclusion> </exclusions>
阅读全文
posted @ 2023-09-22 13:53 笑~笑
阅读(78)
评论(0)
推荐(0)
2023年9月21日
swagger中ApiModelProperty注释失效原因
摘要:
阅读全文
posted @ 2023-09-21 11:44 笑~笑
阅读(244)
评论(0)
推荐(0)
2023年9月6日
mybatis类型转换。TypeHandler案例
摘要: 配置 mybatis-plus: configuration: map-underscore-to-camel-case: true cache-enabled: false global-config: db-config: column-underline: true db-type: mysq
阅读全文
posted @ 2023-09-06 14:32 笑~笑
阅读(167)
评论(0)
推荐(0)
2023年9月4日
Mybatis-plus-join使用、mybatis连表
摘要: public interface PlanDayMapper extends MPJBaseMapper<PwPlanDayPO> { } MPJLambdaWrapper<PwPlanDayPO> wrapper = MPJWrappers.lambdaJoin(PwPlanDayPO.class
阅读全文
posted @ 2023-09-04 11:49 笑~笑
阅读(1145)
评论(0)
推荐(0)
2023年8月31日
mybatis打印日志
摘要: mybatis-plus: configuration: #log-impl: org.apache.ibatis.logging.stdout.StdOutImpl map-underscore-to-camel-case: true cache-enabled: false global-con
阅读全文
posted @ 2023-08-31 14:39 笑~笑
阅读(332)
评论(0)
推荐(0)
jpa打印sql与参数
摘要: logging: level: org: hibernate: SQL: DEBUG type: descriptor: sql: BasicBinder: TRACE
阅读全文
posted @ 2023-08-31 14:28 笑~笑
阅读(119)
评论(0)
推荐(0)
2023年8月3日
jpa排除字段
摘要: @Transient直接忽略 新增和修改忽略 @Column(name ="`exc_status`", insertable = false, updatable = false) @ApiModelProperty(value = "执行状态:字典(0101020302)") private P
阅读全文
posted @ 2023-08-03 16:45 笑~笑
阅读(128)
评论(0)
推荐(0)
2023年7月14日
jna获取windos所有窗口
摘要: <dependency> <groupId>net.java.dev.jna</groupId> <artifactId>jna</artifactId> <version>5.6.0</version> </dependency> <dependency> <groupId>net.java.de
阅读全文
posted @ 2023-07-14 14:14 笑~笑
阅读(416)
评论(0)
推荐(0)
上一页
1
···
4
5
6
7
8
9
10
11
12
···
47
下一页
公告