关于PROPAGATION_REQUIRED的行为,我很少有问题,但我不能在上澄清。
风景区1:-
@Transactional
method1(){
// do some update without exception
}
当线程从method1中出来时,数据将被提交。对吧?
风景区2:-
@Transactional
method1(){
// do some update without exception
method2();
}
@Transactional
method2(){
// do some update without exception
}
当线程从method1中