It appears that certain versions of ADO.NET can default to automatically enlisting a connection into an existing transaction. See http://msdn.microsoft.com/en-us/library/ms254973.aspx for more detail, but I expect somehow somewhere ADO is confused into thinking that there's an existing transaction going on to some other db.
解决办法:
连接字符串后面加上;AutoEnlist=false;
<add name="DB" connectionString="server=localhost;database=futures;uid=root;pwd=;allow zero datetime = true;charset='utf8';AutoEnlist=false;"/>
参考资料:
http://stackoverflow.com/questions/7265734/why-does-opening-a-connection-throw-a-distributed-transactions-error-in-mysql
http://www.cnblogs.com/nielsliu/articles/1280038.html
https://msdn.microsoft.com/en-us/library/ms254973.aspx
http://dev.mysql.com/doc/refman/5.1/en/connector-net-connection-options.html
相关推荐
这个压缩包“mysql-connector-j-8.4.0.jar.rar”包含了这个驱动的最新版本,使得Java开发者能够方便地在他们的应用中连接和操作MySQL数据库。 首先,JDBC(Java Database Connectivity)是Java编程语言中用于与各种...
MySQL Connector/J是MySQL数据库与Java应用程序之间的重要桥梁,它是一个实现了Java Database Connectivity (JDBC) API的驱动程序,使得Java开发者能够方便地在MySQL数据库上执行SQL查询和操作。在这个"mysql-...
MySQL Connector/J是MySQL数据库与Java应用程序之间的桥梁,它是一个实现了JDBC(Java Database Connectivity)标准的驱动程序,允许Java开发者在Java应用中访问和操作MySQL数据库。`mysql-connector-java-5.1.38....
CPU-Z Readme file ------------------ Version 1.50 February 2009 Contact : cpuz@cpuid.com Web page: http://www.cpuid.com/cpuz.php ...CPU-Z is a freeware and can be freely distributed.
* distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing ...
aMetro - World Subway Maps for Android aMetro shows the maps of transit systems all over the world – subways, metro, buses, ...aMetro distributed under the GNU General Public License - see the accom
Due to the complex nature of Fresco, this library does not currently support Fresco. See this project as an alternative solution. Subsampling Support This library aims to keep the zooming ...
Connector/J 8.0.12 支持Mysql 最新版 ...Connector/J 3.1 支持MySQL 4.1、MySQL 5.0 servers、MySQL 5.0 except distributed transaction (XA) support。 Connector/J 3.0 支持MySQL 3.x or MySQL 4.1。
Since version 1.0.6 this library is being distributed via JitPack Step 1: Add it in your root build.gradle at the end of repositories: allprojects { repositories { ... maven { url '...
Connector/J 5.1 支持Mysql 4.1、Mysql 5.0、Mysql ...Connector/J 3.1 支持MySQL 4.1、MySQL 5.0 servers、MySQL 5.0 except distributed transaction (XA) support。 Connector/J 3.0 支持MySQL 3.x or MySQL 4.1。
关于分布式安装,请浏览:http://hbase.apache.org/book/standalone_dist.html#distributed,关于HBase使用外置的ZooKeeper配置,请浏览:http://hbase.apache.org/book/zookeeper.html。所有在线的文档,均会出现在...
本文将详细介绍如何使用DataX进行MySQL到MySQL的同步,以及MySQL与HDFS(Hadoop Distributed File System)之间的相互同步。 **一、MySQL到MySQL的数据同步** 1. **配置文件示例** 在DataX中,数据同步作业的配置...
标题 "OPC_SIEMENS" 指涉的是一个基于Microsoft Visual C#开发的客户端程序,专门用于与西门子(SIEMENS)设备进行OPC(OLE for Process Control)通信。OPC是一种标准接口,它允许不同的自动化系统和设备之间进行...
计算机安全界的会议ISOC Network and Distributed System Security Symposium (NDSS)2012年的文章,ISOC是互联网领域最专业组织之一,NDSS也是安全界较为重要的国际会议。欢迎大家下载并学习该论文集。值得一提的是...
Required jars are distributed in the lib subdirectory. Latest Documentation: http://hibernate.org Bug Reports: Hibernate JIRA (preferred) hibernate-devel@lists.sourceforge.net Free Technical ...
This software is distributed under the terms of the FSF Lesser Gnu Public License (see lgpl.txt). This product includes software developed by the Apache Software Foundation (http://www.apache.org/).
This software is distributed under the terms of the FSF Lesser Gnu Public License (see lgpl.txt). This product includes software developed by the Apache Software Foundation (http://www.apache.org/).
This software is distributed under the terms of the FSF Lesser Gnu Public License (see lgpl.txt). This product includes software developed by the Apache Software Foundation (http://www.apache.org/).
将MySQL的JDBC驱动程序(通常为`mysql-connector-java.jar`)复制到Ofbiz的`framework\entity\lib\jdbc`目录下。这使得Ofbiz能够与MySQL通信。 ### Step3:修改`entityengine.xml` 打开`framework\entity\config\...
创见官方数据恢复工具2.0.0.0 RecoveRx Version : 2.0.0.0 ... GNU General Public License ('GPL') Disclosure RecoveRx may include third party ... Transcend does not provide any support for the GPL software.