Spring transaction propagation behavior_ What is mandatory?

Alibaba cloud Q & A 2022-02-13 09:02:42 阅读数:101

spring transaction propagation behavior_ behavior

spring Transaction propagation behavior PROPAGATION_MANDATORY What is it? ?

Take the answer 1:

Support current transaction , If there is no current transaction , Throw an exception .

copyright:author[Alibaba cloud Q & A],Please bring the original link to reprint, thank you. https://en.javamana.com/2022/02/202202130902412640.html