摘要:
1、在spring配置文件配置事务管理器 开启tx空间 (2)开启事务注解 <tx:annotation-driven transaction-manager="transactionManager"></tx:annotation-driven> 3、在service类上面(或者service类里 阅读全文
posted @ 2022-05-29 16:03
轻封侯
阅读(154)
评论(0)
推荐(0)
摘要:
1.Spring框架一般都是基于AspectJ实现AOP操作 (1)什么是AspectJ AspectJ不是Spring组成部分,是独立的AOP框架,一般吧AspectJ和Spring框架一起使用,进行AOP操作 2.基于AspectJ实现AOP操作 (1)基于xml配置文件实现 (2)基于注解方式 阅读全文
posted @ 2022-05-29 15:52
轻封侯
阅读(131)
评论(0)
推荐(0)

浙公网安备 33010602011771号