以下是网上的配置的例子:
<tx:advice id="TestAdvice" transaction-manager="transactionManager">
<tx:attributes>
<tx:method name="save*" propagation="REQUIRED"/>
</tx:attributes>
</tx:advice>
<aop:config>
<aop:pointcut id="allTestServiceMethod" expression="execution(* com.test.testAda.test.model.service.*.*(..))"/>
<aop:advisor pointcut-ref="allTestServiceMethod" advice-ref="TestAdvice" />
</aop:config>
求问上面的 是不是表示save开头的方法都加上事务,下面的"execution(* com.test.testAda.test.model.service.*.*(..)) ,是不是表示service包下所有类的所有方法都加上事务,那么这两块配置不是重复了吗?还是我理解错了?望大神解答