提交 5a398a0d 编写于 作者: S Serge Rider

Commit fix

上级 ecd8f3ab
......@@ -235,7 +235,7 @@ public class DatabaseTransferProducer implements IDataTransferProducer<DatabaseP
} finally {
if (!selectiveExportFromUI && (newConnection || forceDataReadTransactions)) {
DBCTransactionManager txnManager = DBUtils.getTransactionManager(context);
if (txnManager != null && txnManager.isSupportsTransactions()) {
if (txnManager != null && txnManager.isSupportsTransactions() && !txnManager.isAutoCommit()) {
try {
txnManager.commit(session);
} catch (Exception e) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册