Skip to content

Commit 7fe5985

Browse files
committed
add 关于 @Transactional 注解推荐阅读的文章:
1 parent 907a583 commit 7fe5985

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/system-design/framework/spring/SpringInterviewQuestions.md

+4
Original file line numberDiff line numberDiff line change
@@ -293,6 +293,10 @@ MVC 是一种设计模式,Spring MVC 是一款很优秀的 MVC 框架。Spring M
293293

294294
`@Transactional`注解中如果不配置`rollbackFor`属性,那么事物只会在遇到`RuntimeException`的时候才会回滚,加上`rollbackFor=Exception.class`,可以让事物在遇到非运行时异常时也回滚。
295295

296+
关于 `@Transactional ` 注解推荐阅读的文章:
297+
298+
- [透彻的掌握 Spring 中@transactional 的使用](https://www.ibm.com/developerworks/cn/java/j-master-spring-transactional-use/index.html)
299+
296300
## 9. JPA
297301

298302
### 9.1 如何使用JPA在数据库中非持久化一个字段?

0 commit comments

Comments
 (0)