Spring transaction propagation behavior_ What is never?

Alibaba cloud Q & A 2022-02-13 09:03:43 阅读数:596

spring transaction propagation behavior_ behavior

spring Transaction propagation behavior PROPAGATION_NEVER What is it? ?

Take the answer 1:

To execute in a non transactional manner , If there are currently transactions , Throw an exception .

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