如何为ODBC使用并行连接/事务 [英] How to use parallel connection/transaction for ODBC
本文介绍了如何为ODBC使用并行连接/事务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好,
我正在尝试进行ODBC事务的并行连接,但是给出了一个错误,表明ODBC不支持并行连接.
我该如何解决这个问题?
代码:
Hello All,
I am trying parallel connection for ODBC transaction but gives an error that ODBC not support parallel connection.
How can i solve this problem?
Code:
transaction = dbObj.Begintransaction(conn); transactionNew=dbObj.Begintransaction(conn);
它将给transactionNew错误.
谢谢
It will give an error for transactionNew.
Thanks
推荐答案
信息量有限,答案很简单:
System.Data.Odbc.OdbcConnection不支持并行事务.
引用Google
Going with the limited amount of info, the answer is simple:
Parallel transactions is not supported by the System.Data.Odbc.OdbcConnection.
Ref Google
这篇关于如何为ODBC使用并行连接/事务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文