譬如
public class ShopServiceImpl{ @Transactional public void do1(){ do2(); } @Transactional public void do2(){ .... } }
如上代码,do1调用do2()时,do2()上的@Transactional,其定义的传播属性譬如PROPAGATION_NOT_SUPPORTED,PROPAGATION_NEVER,或者timeout等是不是统统无效?
相关分类