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

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

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

image.png
image.png
image.png

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

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

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

edited Sep 12, 2024
Mr_Carl5
asked Sep 12, 2024
2 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
徐振超@SelectDB8151
answered Sep 12, 2024

这个你是怎么解决事务问题的呢

edited Jan 1, 1970
syx1
answered Jul 23, 2025
Related Questions
or sys mem available 1.42 GB less than low water mark 1.54 GB. Execute again after enough memory, details see be.INFO
1 answers
x2doris 同步doris2.0.4到doris2.1.7
1 answers
1.2.8升级到2.0.0 FE报错
1 answers

Terms of service Privacy policy

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