Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
冰 河
spring-annotation-book
提交
01f6e22a
S
spring-annotation-book
项目概览
冰 河
/
spring-annotation-book
通知
21
Star
17
Fork
3
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
S
spring-annotation-book
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
01f6e22a
编写于
3月 27, 2023
作者:
冰 河
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
提交《Spring核心技术》第32章文章
上级
8d66b480
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
2 addition
and
1 deletion
+2
-1
README.md
README.md
+1
-0
spring-annotation-chapter-29/src/main/java/io/binghe/spring/annotation/chapter29/service/impl/UserServiceImpl.java
...ng/annotation/chapter29/service/impl/UserServiceImpl.java
+1
-1
未找到文件。
README.md
浏览文件 @
01f6e22a
...
...
@@ -75,6 +75,7 @@
*
[
《Spring核心技术》第29章:Spring事务概述与编程实战
](
https://articles.zsxq.com/id_kq76kv1nwzoe.html
)
*
[
《Spring核心技术》第30章:深度解析Spring事务三大接口
](
https://articles.zsxq.com/id_ho2wnitvu0w1.html
)
*
[
《Spring核心技术》第31章:深度解析Spring事务隔离级别与传播机制
](
https://articles.zsxq.com/id_27ujpfwf1mh3.html
)
*
[
《Spring核心技术》第32章:深度解析@EnableTransactionManagement注解
](
https://articles.zsxq.com/id_8oxd67xgmkdk.html
)
### 我的新书
...
...
spring-annotation-chapter-29/src/main/java/io/binghe/spring/annotation/chapter29/service/impl/UserServiceImpl.java
浏览文件 @
01f6e22a
...
...
@@ -38,6 +38,6 @@ public class UserServiceImpl implements UserService {
@Transactional
(
rollbackFor
=
Exception
.
class
)
public
void
saveUser
(
User
user
)
{
userDao
.
saveUser
(
user
);
int
i
=
1
/
0
;
//
int i = 1 / 0;
}
}
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录