Apache Doris 中文技术论坛
Questions Tags Users Badges

SpringBoot+MyBatis 连接Doris数据库,当抛出异常时,事务失效,没有回滚。Doris版本:doris-1.2.7-1

Asked Sep 12, 2024 Modified Sep 12, 2024
Viewed 157
1.2

image.png
image.png
image.png

事务失效,每循环一次,数据都会插入到Doris数据库的表里面,抛出了异常却没有回滚。

换成了手动回滚。也没起作用。
image.png

是Doris不支持这种事务回滚吗?

edited Sep 12, 2024
Mr_Carl5
asked Sep 12, 2024
1 Answers

Doris 3.0开始支持事务的回滚
参考链接
https://doris.apache.org/zh-CN/docs/3.0/data-operate/transaction?_highlight=%E4%BA%8B&_highlight=%E5%9B%9E&_highlight=%E6%BB%9A#%E5%9B%9E%E6%BB%9A%E4%BA%8B%E5%8A%A1

edited Sep 13, 2024
徐振超@SelectDB7121
answered Sep 12, 2024
Related Questions
Doris数据恢复物化视图恢复失败,导致任务写入失败
1 answers
Doris 1.2.4 FE show frontends慢
1 answers
Doris BE不定期挂掉,目前只有be.out的栈信息,
1 answers
doris1.2.7由于查询引发大量be节点服务宕机
1 answers
使用stream load 方式导入csv文件时,按照官网设置包围符和转义符不生效,报错
1 answers
公司扫描9030端口,发现MySql漏洞,请教解决方案
1 answers

Terms of service Privacy policy

Powered by Answer - the open-source software that powers Q&A communities.
Made with love © 2025 Apache Doris 中文技术论坛.