06 2021 档案

摘要:使用idea在DEBUG的时候出现Method breakpoints may dramatically slow down debugging, 如图: 根据语义可能是断点打在方法上面了,导致在某个断点卡住了。 重启服务器和重启idea已然无解。 打开Breakpoints面板看看,(快捷键:Ct 阅读全文
posted @ 2021-06-26 09:49 君莫笑我十年游 阅读(80) 评论(0) 推荐(0) 编辑
摘要:下面这篇博客,很详细,基于源码: https://my.oschina.net/u/4933191/blog/4896611 下面这篇博客基于案例,生动: https://www.cnblogs.com/code-duck/p/13433809.html 常用方法: https://www.cnbl 阅读全文
posted @ 2021-06-12 11:25 君莫笑我十年游 阅读(812) 评论(0) 推荐(0) 编辑
摘要:https://www.jianshu.com/p/3c5d7f09dfbd 阅读全文
posted @ 2021-06-10 21:50 君莫笑我十年游 阅读(27) 评论(0) 推荐(0) 编辑
摘要:lombok.assessors.chain=[true|false](default:false)如果设置为true,没有任何类被@Accessors注解,或者有类被注解但是没有为chain参数显式赋值,则表现为@Accessors(chain=true) chain 一个布尔值。如果为真,产生的 阅读全文
posted @ 2021-06-08 22:03 君莫笑我十年游 阅读(119) 评论(0) 推荐(0) 编辑
摘要:在我们写controller或者Service层的时候,需要注入很多的mapper接口或者另外的service接口,这时候就会写很多的@AutoWired注解,代码看起来很乱lombok提供了一个注解: @RequiredArgsConstructor(onConstructor =@_(@Auto 阅读全文
posted @ 2021-06-08 21:58 君莫笑我十年游 阅读(2480) 评论(0) 推荐(0) 编辑
摘要:https://iowiki.com/javatime/javatime_localdatetime_ofepochsecond.html 阅读全文
posted @ 2021-06-08 21:55 君莫笑我十年游 阅读(132) 评论(0) 推荐(0) 编辑
摘要:可以参考@Transtactional的具体实现。 限制连接点的匹配,其中连接点的主题(在 Spring AOP 中执行的方法)具有给定的 annotation。 官方案例: 任何连接点(仅在 Spring AOP 中执行方法),其中执行方法具有@Transactional annotation: 阅读全文
posted @ 2021-06-08 13:37 君莫笑我十年游 阅读(1260) 评论(0) 推荐(0) 编辑
摘要:@Before("customerJoinPointerExpression()") public void beforeMethod(JoinPoint joinPoint){ joinPoint.getSignature().getName(); // 获取目标方法名 joinPoint.get 阅读全文
posted @ 2021-06-08 13:33 君莫笑我十年游 阅读(2003) 评论(0) 推荐(1) 编辑
摘要:参考:https://blog.csdn.net/qq_42981242/article/details/110939210 个人感觉这个工具还是十分使用的。 阅读全文
posted @ 2021-06-07 18:12 君莫笑我十年游 阅读(44) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示