摘要: 我们在spring使用事务有三种方式,第一种使用xml配置的方式配置,第二种使用注解的方式配置,第三种使用编程的方式。 我们首先从xml配置开始 <tx:advice id="txAdvice" transaction-manager="txManager"> <tx:attributes> <tx 阅读全文