在controller里加了@transaction注解,抛出异常的话手动回滚,controller里调用两个service,service1和service2,service1也加了@transaction注解,那么整个controller接口和service1是在一个事务里吗,service2出错service1正常的话,service1会回滚吗?还是service1会继承controller的事务
先把spring的事务传播看完吧。。