List:Commits« Previous MessageNext Message »
From:Craig L Russell Date:July 1 2011 11:16pm
Subject:bzr push into connector-j/branches/branch_5_1 branch (Craig.Russell:1070 to
1071)
View as plain text  
 1071 Craig L Russell	2011-07-01
      Add method getParameterBindValues to ServerPreparedStatement for use by Interceptors

    modified:
      src/com/mysql/jdbc/ServerPreparedStatement.java
 1070 Tonci Grgin	2011-06-30
      Bug#11845653, Bug#11845626.

    modified:
      README
      src/lib-nodist/README-commercial
=== modified file 'src/com/mysql/jdbc/ServerPreparedStatement.java'
--- a/src/com/mysql/jdbc/ServerPreparedStatement.java	2011-06-29 22:53:05 +0000
+++ b/src/com/mysql/jdbc/ServerPreparedStatement.java	2011-07-01 23:13:22 +0000
@@ -935,6 +935,16 @@ public class ServerPreparedStatement ext
 	}
 
 	/**
+	 * Return current bind values for use by Statement Interceptors.
+	 * @return the bind values as set by setXXX and stored by addBatch
+	 * @see #executeBatch()
+	 * @see #addBatch()
+	 */
+	public BindValue[] getParameterBindValues() {
+		return parameterBindings;
+	}
+
+	/**
 	 * @see com.mysql.jdbc.PreparedStatement#getBytes(int)
 	 */
 	synchronized byte[] getBytes(int parameterIndex) throws SQLException {

No bundle (reason: useless for push emails).
Thread
bzr push into connector-j/branches/branch_5_1 branch (Craig.Russell:1070 to1071)Craig L Russell4 Jul