List:Commits« Previous MessageNext Message »
From:mmatthews Date:August 29 2007 7:27pm
Subject:Connector/J commit: r6528 - in branches/branch_5_0/connector-j: . src/com/mysql/jdbc/integration/jboss
View as plain text  
Modified:
   branches/branch_5_0/connector-j/CHANGES
   branches/branch_5_0/connector-j/src/com/mysql/jdbc/integration/jboss/MysqlValidConnectionChecker.java
Log:
Fixed BUG#29106 - Connection checker for JBoss didn't use same method parameters
      via reflection, causing connections to always seem "bad".

Modified: branches/branch_5_0/connector-j/CHANGES
===================================================================
--- branches/branch_5_0/connector-j/CHANGES	2007-08-29 17:54:37 UTC (rev 6527)
+++ branches/branch_5_0/connector-j/CHANGES	2007-08-29 19:27:12 UTC (rev 6528)
@@ -18,6 +18,9 @@
                                           specifically to work around dubious metadata 
                                           returned by the server for GROUP BY clauses?
 
+    - Fixed BUG#29106 - Connection checker for JBoss didn't use same method parameters
+      via reflection, causing connections to always seem "bad".
+      
 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/integration/jboss/MysqlValidConnectionChecker.java
===================================================================
--- branches/branch_5_0/connector-j/src/com/mysql/jdbc/integration/jboss/MysqlValidConnectionChecker.java	2007-08-29 17:54:37 UTC (rev 6527)
+++ branches/branch_5_0/connector-j/src/com/mysql/jdbc/integration/jboss/MysqlValidConnectionChecker.java	2007-08-29 19:27:12 UTC (rev 6528)
@@ -77,7 +77,7 @@
 		if (conn instanceof com.mysql.jdbc.Connection) {
 			if (pingMethod != null) {
 				try {
-					this.pingMethod.invoke(conn, NO_ARGS_OBJECT_ARRAY);
+					this.pingMethod.invoke(conn, null);
 	
 					return null;
 				} catch (Exception ex) {
@@ -91,7 +91,7 @@
 		} else if (conn instanceof com.mysql.jdbc.jdbc2.optional.ConnectionWrapper) {
 			if (pingMethodWrapped != null) {
 				try {
-					this.pingMethodWrapped.invoke(conn, NO_ARGS_OBJECT_ARRAY);
+					this.pingMethodWrapped.invoke(conn, null);
 	
 					return null;
 				} catch (Exception ex) {

Thread
Connector/J commit: r6528 - in branches/branch_5_0/connector-j: . src/com/mysql/jdbc/integration/jbossmmatthews29 Aug