Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 21e858e commit bb9b981Copy full SHA for bb9b981
springboot-transactional-sample/README.md
@@ -32,3 +32,5 @@ Propagation 属性确定代理应该对那些方法增加事务行为,这样
32
该传播属性不支持事务,该级别的特点就上下文中存在事务,则挂起事务,执行当前逻辑,结束后恢复上下文的事务
33
好处:可以帮助我们把事务缩小范围。因为一个事务越大,它存在的风险也就越多。所以在处理事务过程中,要保证尽可能的缩小范围
34
35
+#### (六)PROPAGATION_NEVER
36
+不能在事务中运行,该事务传播级别要求中不能存在事务,一旦有事务,就抛出runtime异常,强制停止执行
0 commit comments