Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 41578db

Browse files
update
1 parent de53114 commit 41578db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎Rocket.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -753,7 +753,7 @@ Spring使用了三级缓存解决了循环依赖的问题。在populateBean()给
753753
5. 异常被 catch 捕获导致@Transactional失效。
754754
6. 数据库引擎不支持事务。
755755

756-
### Spring的的事务传播机制
756+
### Spring中的事务传播机制
757757

758758
1. REQUIRED(默认,常用):支持使用当前事务,如果当前事务不存在,创建一个新事务。eg:方法B用REQUIRED修饰,方法A调用方法B,如果方法A当前没有事务,方法B就新建一个事务(若还有C则B和C在各自的事务中独立执行),如果方法A有事务,方法B就加入到这个事务中,当成一个事务。
759759
2. SUPPORTS:支持使用当前事务,如果当前事务不存在,则不使用事务。

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /