Jarvan-Song
cb1f7e6e6a
Update spring-design-patterns-summary.md
2022-03-16 16:09:16 +08:00
guide
84ae035493
[docs update]spring事务内容完善
2022-03-13 10:06:18 +08:00
Guide哥
cd80c296b5
Merge pull request #1611 from 1autodidact/patch-1
...
spring 事务 PROPAGATION_NESTED纠错
2022-03-13 09:11:30 +08:00
guide
47dabd9b82
Update spring-common-annotations.md
2022-03-12 13:54:41 +08:00
Mingron
3ac727a98a
Update spring-transaction.md
2022-03-10 22:52:53 +08:00
Mingron
5a44269f13
spring 事务 PROPAGATION_NESTED纠错
...
ROPAGATION_NESTED:如果当前存在事务,就在嵌套事务内执行;如果当前没有事务,就执行与PROPAGATION_REQUIRED类似的操作,子事务回滚外部主事务也会受到影响进行回滚
```
@service
public class UserInvokeService {
@Autowired
private UserService userService;
@resource
private UserMapper userMapper;
@transactional
public void invokeUserService() {
User user = new User();
user.setName("zxx");
user.setAge(333333);
userMapper.insert(user);
userService.insertData();
}
}
@service
public class UserService {
@resource
private UserMapper userMapper;
@transactional(propagation = Propagation.NESTED)
public void insertData() {
User user = new User();
user.setName("inserByNested");
user.setAge(2222);
userMapper.insert(user);
int a = 1 / 0;
}
}
@SpringBootTest
public class TransactionalTest {
@Autowired
UserService userService;
@Autowired
UserInvokeService userInvokeService;
@test
public void testTransaction() {
userInvokeService.invokeUserService();
}
}
```
2022-03-10 22:44:23 +08:00
guide
aade9ab4e6
[docs fix]链接错误修复
2022-03-05 23:37:02 +08:00
guide
5a5f8ccb3b
✨ [docs feat]vuepress主题更新
2022-03-03 09:14:56 +08:00
东三环牛哥
ffc79bba65
Update spring-common-annotations.md
...
官网注释:
Session: Scopes a single bean definition to the lifecycle of a HTTP Session. Only valid in the context of a web-aware Spring ApplicationContext.
来自:
https://docs.spring.io/spring-framework/docs/3.0.0.M3/reference/html/ch04s04.html
2022-02-22 10:35:42 +08:00
yueyang
6d06381bc9
修复错别字
...
加锁度 -> 加锁读
2022-02-18 15:47:13 +08:00
guide
cc4543bc3f
[docs improve]图片压缩
2022-02-09 16:01:16 +08:00
guide
24f43169bd
图片压缩
2022-01-13 19:57:13 +08:00
guide
0af9b3a45c
Update spring-transaction.md
2021-12-28 15:58:52 +08:00
guide
63244b8c80
Update spring-transaction.md
2021-12-28 15:52:00 +08:00
guide
6d9b99e48f
[docs update]规范Spring相关文件名
2021-12-13 17:36:52 +08:00
guide
32fa2ade93
[docs update]Spring Boot 自动装配原理文件名修改
2021-12-13 17:27:57 +08:00
guide
7b6661870f
[feat]图片压缩
2021-11-16 10:52:26 +08:00
guide
7042acb5db
[feat] 图片压缩
2021-11-15 08:55:21 +08:00
guide
dc45389934
[feat] 🔥 基于 vuepress 重构整个项目,提升阅读体验
2021-11-09 18:47:58 +08:00
Guide哥
ba32cba42f
Merge pull request #1392 from kaka2634/master
...
Update Spring常见问题总结.md
2021-09-13 09:21:43 +08:00
Guide哥
6cc177a9d4
Merge pull request #1390 from error0g/error0g-patch-3
...
Update 一千行MySQL学习笔记
2021-09-13 09:04:51 +08:00
kaka2634
44232fc8b5
Update Spring常见问题总结.md
2021-09-12 23:55:33 +08:00
error0
219a006f1b
Update Spring事务总结.md
2021-09-11 12:37:01 +08:00
huhongtao
ff5f4b066f
Update Spring常见问题总结.md
2021-09-11 09:36:49 +08:00
anaer
767f601471
Update SpringBoot+Spring常用注解总结.md
...
typo
2021-09-08 20:20:31 +08:00
weixsun
9b358a9a60
Update Spring事务总结.md
2021-09-07 16:38:15 +08:00
weixsun
00422da87b
Update Spring事务总结.md
2021-09-07 16:25:52 +08:00
weixsun
2e6bf93963
Update Spring事务总结.md
2021-09-07 16:15:54 +08:00
anaer
b55ee4a634
Update Spring常见问题总结.md
2021-08-24 11:28:43 +08:00
guide
452fc49d6b
Update Spring常见问题总结.md
2021-08-09 19:43:23 +08:00
guide
9b9123c5a9
Spring 常见问题总结
2021-08-09 17:33:20 +08:00
guide
b24ab64891
Update Spring常见问题总结.md
2021-08-09 00:27:06 +08:00
yamonc
a1342f760d
更新
2021-08-07 15:13:58 +08:00
yamonc
cb33610c5d
更新spring事务:添加管理事务的方式、事务传播方式思维导图
2021-08-07 10:24:43 +08:00
yamonc
c6d832cf37
更新文件:doc/system-design/frameword/spring/SpringInterviewQuestions.md :spring AOP和AspectJ AOP有什么区别,添加序号,方便记忆。
2021-08-07 10:10:30 +08:00
TommyMerlin
55af506dbd
修正更新版本的 spring-boot-starter-web 依赖中不再有 hibernate-validator 包
2021-06-09 22:29:46 +08:00
TommyMerlin
075488375d
fix typo
2021-06-09 21:29:02 +08:00
谭九鼎
a7cb255e46
Use https for some links
2021-06-02 12:46:32 +00:00
guide
3b7c8981a2
[feat]MySQL 部分内容更新完善
2021-03-27 16:22:18 +08:00
guide
7f6a1032de
Update SpringBoot+Spring常用注解总结.md
2021-03-22 23:11:17 +08:00
Chen_shilong
fe30b2c03e
Merge pull request #4 from Snailclimb/master
...
merge
2021-03-05 21:44:29 +08:00
Chen_shilong
192d86b5f6
Update Spring常见问题总结.md
2021-03-01 15:07:07 +08:00
Sumeet Mahajan
20106958be
added one more spring resource.
2021-02-05 19:46:03 +05:30
guide
c7808b5602
Update Spring常见问题总结.md
2021-01-18 19:25:58 +08:00
guide
96510f4704
Update Spring事务总结.md
2020-12-26 14:31:28 +08:00
nightsswatch
ae6a632776
fix typo
2020-11-23 10:41:55 +08:00
guide
5f920adf4f
部分文章重命名
2020-10-17 16:54:25 +08:00
guide
42719e0426
图片修复
2020-10-17 15:21:43 +08:00
guide
f80a2dd60a
[refractor]删除Sring部分文章
2020-10-16 12:16:42 +08:00
Weiyang Zhu
6d195aac5b
Fix typo
...
Fix typo in SpringInterviewQuestions.md
2020-10-06 10:22:14 +08:00