社区
Java
帖子详情
org.springframework.transaction.UnexpectedRollbackException: Transaction rolled
sisixixi
2018-06-01 11:23:43
在项目中,一个页面提交的时候报了这个错(该页面信息比较多,需要保存的表也比较多),也不知道是哪个环节(在插入哪张表的时候)报了这个错,大家有碰到过这个问题吗?
...全文
275
回复
打赏
收藏
org.springframework.transaction.UnexpectedRollbackException: Transaction rolled
在项目中,一个页面提交的时候报了这个错(该页面信息比较多,需要保存的表也比较多),也不知道是哪个环节(在插入哪张表的时候)报了这个错,大家有碰到过这个问题吗?
复制链接
扫一扫
分享
举报
写回复
配置赞助广告
回复
切换为时间正序
请发表友善的回复…
发表回复
打赏红包
相关推荐
org
.
springframework
.
tran
sac
t
ion
.
Unexpected
Rol
lback
Except
ion
:
Tran
sac
t
ion
rol
led
back because it has
ERROR:
org
.
springframework
.
tran
sac
t
ion
.
Unexpected
Rol
lback
Except
ion
:
Tran
sac
t
ion
rol
led
back because it has been marked as
rol
lback
-only [java] view plaincopyprint? @T
解决
org
.
springframework
.
tran
sac
t
ion
.
Unexpected
Rol
lback
Except
ion
:
Tran
sac
t
ion
silently
rol
led
back beca
解决
org
.
springframework
.
tran
sac
t
ion
.
Unexpected
Rol
lback
Except
ion
:
Tran
sac
t
ion
silently
rol
led
back because it has been marked as
rol
lback
-only的问题,并通过该错误来分析来分析spring boot的事务机制。
org
.
springframework
.
tran
sac
t
ion
.
Unexpected
Rol
lback
Except
ion
: JTA
tran
sac
t
ion
already
rol
led
back (pr
org
.
springframework
.
tran
sac
t
ion
.
Unexpected
Rol
lback
Except
ion
: JTA
tran
sac
t
ion
already
rol
led
back (probably due to a timeout) 错误原因默认的Spring 默认的事务是 tomeout 是 -1 原因是 这里使用Spring 默认事务 java int timeout() d...
Tran
sac
t
ion
rol
led
back because it has been marked as
rol
lback
-only
org
.
springframework
.web.util.NestedServlet
Except
ion
: requestID:a442f2c75691bf88 ; nested
except
ion
is
org
.
springframework
.
tran
sac
t
ion
.
Unexpected
Rol
lback
Except
ion
:
Tran
sac
t
ion
rol
led
back because it ha...
org
.
springframework
.
tran
sac
t
ion
.
Unexpected
Rol
lback
Except
ion
:
Tran
sac
t
ion
rol
led
back because it has
完整的异常信息:
org
.
springframework
.
tran
sac
t
ion
.
Unexpected
Rol
lback
Except
ion
:
Tran
sac
t
ion
rol
led
back because it has been marked as
rol
lback
-only 字面意思: 出现了不可预知的回滚异常,因为事务已经被标志位只能回滚,所以事务回滚了。
发帖
Java
Java
Java相关技术讨论
复制链接
扫一扫
4.9w+
社区成员
8.5w+
社区内容
Java相关技术讨论
java
spring boot
spring cloud
技术论坛(原bbs)
社区管理员
加入社区
获取链接或二维码
帖子事件
创建了帖子
2018-06-01 11:23
社区公告
暂无公告