Bosses when abnormal function D, transaction rollback will happen functions B and C
?Public class TT {
Public void (A) {
GG. (B);
GG. C ();
GG. D ();
}
}
Public class GG {
@ Transactional
Public void (B);
@ Transactional
Public void (C);
@ Transactional
Public void (D);
}
CodePudding user response:
This should be not, because the @ Transactional level is a single method,
B C D add @ Transactional will write in the same way,
CodePudding user response: