List:Commits« Previous MessageNext Message »
From:mmatthews Date:October 1 2007 3:14pm
Subject:Connector/J commit: r6594 - in branches/branch_5_0/connector-j: . src/com/mysql/jdbc/jdbc2/optional
View as plain text  
Modified:
   branches/branch_5_0/connector-j/CHANGES
   branches/branch_5_0/connector-j/src/com/mysql/jdbc/jdbc2/optional/ConnectionWrapper.java
Log:
XAConnections now start in auto-commit mode (as per JDBC-4.0 specification clarification).

Modified: branches/branch_5_0/connector-j/CHANGES
===================================================================
--- branches/branch_5_0/connector-j/CHANGES	2007-09-26 12:02:47 UTC (rev 6593)
+++ branches/branch_5_0/connector-j/CHANGES	2007-10-01 15:14:53 UTC (rev 6594)
@@ -64,6 +64,9 @@
     - Fixed Bug#30892 setObject(int, Object, int, int) delegate in
       PreparedStatmentWrapper delegates to wrong method.
       
+    - XAConnections now start in auto-commit mode (as per JDBC-4.0 specification
+      clarification).
+      
 07-19-07 - Version 5.0.7
 
     - Setting the configuration parameter "useCursorFetch" to "true" for 

Modified: branches/branch_5_0/connector-j/src/com/mysql/jdbc/jdbc2/optional/ConnectionWrapper.java
===================================================================
--- branches/branch_5_0/connector-j/src/com/mysql/jdbc/jdbc2/optional/ConnectionWrapper.java	2007-09-26 12:02:47 UTC (rev 6593)
+++ branches/branch_5_0/connector-j/src/com/mysql/jdbc/jdbc2/optional/ConnectionWrapper.java	2007-10-01 15:14:53 UTC (rev 6594)
@@ -86,7 +86,6 @@
 		
 		if (this.isForXa) {
 			setInGlobalTx(false);
-			setAutoCommit(false);
 		}
 	}
 

Thread
Connector/J commit: r6594 - in branches/branch_5_0/connector-j: . src/com/mysql/jdbc/jdbc2/optionalmmatthews1 Oct