![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Spring学习笔记
文章平均质量分 74
linlinmq
这个作者很懒,什么都没留下…
展开
-
Last Task - concurrent tasks for retry
concurrent tasks原创 2022-02-21 13:51:05 · 645 阅读 · 0 评论 -
JPA many to many 表设计与问题解决
今天写业务代码,将many 2 many的对象(A,B,C)存入db,在entity本身save过程没有问题,但是在下一句update它的另一个关系父对象过程出错如下: ...A different object with the same identifier value was already associated with the session... entities关系,A和C是多对多关系,通过B关系表关联。 A --------> B <----------C A 和X是原创 2021-11-12 21:45:44 · 351 阅读 · 0 评论 -
2018-1 Spring AOP - 2
Sping增强 包含: 1. 前置增强: org.springframework.aop.BeforeAdvice 2. 后置增强: org.springframework.aop.AfterReturningAdvice 3.环绕增强: org.aopallicance.intercept.MethodInterceptor, 在方法前后执行 4. 异常抛出增强: org.spring原创 2018-01-24 00:00:16 · 98 阅读 · 0 评论 -
2018-1 Spring AOP 1
Spring AOP 学习笔记 (摘自sping3.x企业应用开发实战) AOP, Aspect Oriented Programming的简称,面向切面编程,适用于具有横切逻辑的应用场景,比如性能检测,访问控制,事务管理以及日志记录。为消除分布在业务代码中的重复非业务代码而出现的。 连接点(JoinPoint) 程序执行的某个特定位置:类初始化前后,方法调用前后,异常抛出后。Spring只原创 2018-01-23 23:27:16 · 117 阅读 · 0 评论