1.事务配置在业务逻辑接口层:
<aop:config proxy-target-class="true">
<aop:advisor pointcut="execution(* com.zx.blog.service.*Service.*(..))" advice-ref="txAdvice">
</aop:config>
2.事物配置在业务逻辑实现类层:
<aop:config proxy-target-class="true">
<aop:advisor pointcut="execution(* com.zx.blog.service.impl.*Service*.*(..))" advice-ref="txAdvice">
</aop:config>
Spring的事务是配置在业务逻辑接口层还是实现类层? 或者是配置在这两层都可以呢?