Alibaba cloud Q & A 2022-02-13 09:04:52 阅读数:432
spring Transaction propagation behavior propagation_nested What is it? ？
If the current method is running a transaction , The method should run in a nested transaction , Nested transactions can be committed or rolled back independently of encapsulated transactions . If the encapsulated transaction exists , And the outer transaction throws an exception to roll back , Then the inner transaction must be rolled back , conversely , Internal affairs do not affect external affairs . If the encapsulated transaction does not exist , Same with propagation_required The same as .
copyright：author[Alibaba cloud Q & A]，Please bring the original link to reprint, thank you. https://en.javamana.com/2022/02/202202130904510632.html