From: Date: August 29 2007 9:27pm Subject: Connector/J commit: r6528 - in branches/branch_5_0/connector-j: . src/com/mysql/jdbc/integration/jboss List-Archive: http://lists.mysql.com/commits/33386 X-Bug: 29106 Message-Id: <200708291927.l7TJRDgV019975@bk-internal.mysql.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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) {