Blame SOURCES/mysql-connector-java-jdbc-4.1.patch

9782d3
diff -rup mysql-connector-java-5.1.24-nopatch/src/com/mysql/jdbc/CallableStatement.java mysql-connector-java-5.1.24-patched/src/com/mysql/jdbc/CallableStatement.java
9782d3
--- mysql-connector-java-5.1.24-nopatch/src/com/mysql/jdbc/CallableStatement.java	2013-03-11 07:20:52.000000000 +0100
9782d3
+++ mysql-connector-java-5.1.24-patched/src/com/mysql/jdbc/CallableStatement.java	2013-04-08 16:29:34.250742605 +0200
9782d3
@@ -31,11 +31,15 @@ import java.net.URL;
9782d3
 import java.sql.Array;
9782d3
 import java.sql.Blob;
9782d3
 import java.sql.Clob;
9782d3
+import java.sql.NClob;
9782d3
 import java.sql.Date;
9782d3
 import java.sql.ParameterMetaData;
9782d3
 import java.sql.Ref;
9782d3
 import java.sql.ResultSet;
9782d3
+import java.sql.RowId;
9782d3
 import java.sql.SQLException;
9782d3
+import java.sql.SQLFeatureNotSupportedException;
9782d3
+import java.sql.SQLXML;
9782d3
 import java.sql.Time;
9782d3
 import java.sql.Timestamp;
9782d3
 import java.sql.Types;
9782d3
@@ -426,11 +430,11 @@ public class CallableStatement extends P
9782d3
 	     * @throws java.sql.SQLException If no object found that implements the interface 
9782d3
 	     * @since 1.6
9782d3
 	     */
9782d3
-		public Object unwrap(Class iface) throws java.sql.SQLException {
9782d3
+		public <T> T unwrap(java.lang.Class<T> iface) throws java.sql.SQLException {
9782d3
 	    	try {
9782d3
 	    		// This works for classes that aren't actually wrapping
9782d3
 	    		// anything
9782d3
-	    		return Util.cast(iface, this);
9782d3
+	    		return iface.cast(this);
9782d3
 	        } catch (ClassCastException cce) {
9782d3
 	            throw SQLError.createSQLException("Unable to unwrap to " + iface.toString(), 
9782d3
 	            		SQLError.SQL_STATE_ILLEGAL_ARGUMENT, getExceptionInterceptor());
9782d3
@@ -2665,4 +2669,95 @@ public class CallableStatement extends P
9782d3
 			}
9782d3
 		}
9782d3
 	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public void setNClob(String parameterName, NClob value) throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public void setNClob(String parameterName, Reader reader, long length) throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public void setNClob(String parameterName, Reader reader) throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public java.io.Reader getCharacterStream(int parameterIndex) throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public java.io.Reader getCharacterStream(String parameterName) throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public java.io.Reader getNCharacterStream(int parameterIndex) throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public java.io.Reader getNCharacterStream(String parameterName) throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public String getNString(int parameterIndex) throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public String getNString(String parameterName) throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public SQLXML getSQLXML(int parameterIndex) throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public SQLXML getSQLXML(String parameterName) throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public void setSQLXML(String parameterName, SQLXML xmlObject) throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public NClob getNClob (int parameterName) throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public NClob getNClob (String parameterName) throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public void setNString(String parameterName, String value) throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public void setRowId(String parameterName, RowId x) throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public RowId getRowId(int parameterIndex) throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public RowId getRowId(String parameterName) throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+
9782d3
 }
9782d3
diff -rup mysql-connector-java-5.1.24-nopatch/src/com/mysql/jdbc/ConnectionImpl.java mysql-connector-java-5.1.24-patched/src/com/mysql/jdbc/ConnectionImpl.java
9782d3
--- mysql-connector-java-5.1.24-nopatch/src/com/mysql/jdbc/ConnectionImpl.java	2013-03-11 07:20:52.000000000 +0100
9782d3
+++ mysql-connector-java-5.1.24-patched/src/com/mysql/jdbc/ConnectionImpl.java	2013-04-08 16:29:34.252742605 +0200
9782d3
@@ -34,11 +34,16 @@ import java.nio.charset.Charset;
9782d3
 import java.nio.charset.CharsetEncoder;
9782d3
 import java.sql.Blob;
9782d3
 import java.sql.DatabaseMetaData;
9782d3
+import java.sql.NClob;
9782d3
 import java.sql.ResultSet;
9782d3
 import java.sql.SQLException;
9782d3
+import java.sql.SQLXML;
9782d3
 import java.sql.SQLPermission;
9782d3
 import java.sql.SQLWarning;
9782d3
 import java.sql.Savepoint;
9782d3
+import java.sql.SQLClientInfoException;
9782d3
+import java.sql.SQLFeatureNotSupportedException;
9782d3
+import java.sql.Struct;
9782d3
 import java.util.ArrayList;
9782d3
 import java.util.Calendar;
9782d3
 import java.util.Collections;
9782d3
@@ -6101,4 +6106,71 @@ public class ConnectionImpl extends Conn
9782d3
 			return getSocketTimeout();
9782d3
 		}
9782d3
 	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public Struct createStruct(String typeName, Object[] attributes) throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public java.sql.Array createArrayOf(String typeName, Object[] elements) throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public String getClientInfo(String name) throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public Properties getClientInfo() throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public void setClientInfo(String name, String value)
9782d3
+	throws SQLClientInfoException {
9782d3
+		//throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public void setClientInfo(Properties properties) throws SQLClientInfoException {
9782d3
+		//throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public boolean isValid(int timeout) throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public SQLXML createSQLXML() throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public NClob createNClob() throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public Blob createBlob() throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public Clob createClob() throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public boolean isWrapperFor(java.lang.Class iface) throws java.sql.SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public <T> T unwrap(java.lang.Class<T> iface) throws java.sql.SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
 }
9782d3
diff -rup mysql-connector-java-5.1.24-nopatch/src/com/mysql/jdbc/DatabaseMetaData.java mysql-connector-java-5.1.24-patched/src/com/mysql/jdbc/DatabaseMetaData.java
9782d3
--- mysql-connector-java-5.1.24-nopatch/src/com/mysql/jdbc/DatabaseMetaData.java	2013-03-11 07:20:52.000000000 +0100
9782d3
+++ mysql-connector-java-5.1.24-patched/src/com/mysql/jdbc/DatabaseMetaData.java	2013-04-08 16:29:34.265742606 +0200
9782d3
@@ -30,6 +30,8 @@ import java.sql.ResultSet;
9782d3
 import java.sql.SQLException;
9782d3
 import java.sql.Statement;
9782d3
 import java.sql.Types;
9782d3
+import java.sql.RowIdLifetime;
9782d3
+import java.sql.SQLFeatureNotSupportedException;
9782d3
 import java.util.ArrayList;
9782d3
 import java.util.Collections;
9782d3
 import java.util.HashMap;
9782d3
@@ -8540,4 +8542,37 @@ public class DatabaseMetaData implements
9782d3
             throws SQLException {
9782d3
 		return true;
9782d3
 	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public ResultSet getFunctions(String catalog, String schemaPattern, 
9782d3
+			String functionNamePattern) throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public ResultSet getClientInfoProperties()
9782d3
+	throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public boolean autoCommitFailureClosesAllResultSets() throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public RowIdLifetime getRowIdLifetime() throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public boolean isWrapperFor(java.lang.Class iface) throws java.sql.SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public <T> T unwrap(java.lang.Class<T> iface) throws java.sql.SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+
9782d3
 }
9782d3
diff -rup mysql-connector-java-5.1.24-nopatch/src/com/mysql/jdbc/Driver.java mysql-connector-java-5.1.24-patched/src/com/mysql/jdbc/Driver.java
9782d3
--- mysql-connector-java-5.1.24-nopatch/src/com/mysql/jdbc/Driver.java	2013-03-11 07:20:52.000000000 +0100
9782d3
+++ mysql-connector-java-5.1.24-patched/src/com/mysql/jdbc/Driver.java	2013-04-08 16:29:34.323742612 +0200
9782d3
@@ -26,6 +26,8 @@
9782d3
 package com.mysql.jdbc;
9782d3
 
9782d3
 import java.sql.SQLException;
9782d3
+import java.sql.SQLFeatureNotSupportedException;
9782d3
+import java.util.logging.Logger;
9782d3
 
9782d3
 /**
9782d3
  * The Java SQL framework allows for multiple database drivers. Each driver
9782d3
@@ -78,4 +80,9 @@ public class Driver extends NonRegisteri
9782d3
 	public Driver() throws SQLException {
9782d3
 		// Required for Class.forName().newInstance()
9782d3
 	}
9782d3
+
9782d3
+	@Override
9782d3
+	public Logger getParentLogger() throws SQLFeatureNotSupportedException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
 }
9782d3
diff -rup mysql-connector-java-5.1.24-nopatch/src/com/mysql/jdbc/jdbc2/optional/CallableStatementWrapper.java mysql-connector-java-5.1.24-patched/src/com/mysql/jdbc/jdbc2/optional/CallableStatementWrapper.java
9782d3
--- mysql-connector-java-5.1.24-nopatch/src/com/mysql/jdbc/jdbc2/optional/CallableStatementWrapper.java	2013-03-11 07:20:52.000000000 +0100
9782d3
+++ mysql-connector-java-5.1.24-patched/src/com/mysql/jdbc/jdbc2/optional/CallableStatementWrapper.java	2013-04-08 16:29:34.353742614 +0200
9782d3
@@ -35,8 +35,12 @@ import java.sql.Blob;
9782d3
 import java.sql.CallableStatement;
9782d3
 import java.sql.Clob;
9782d3
 import java.sql.Date;
9782d3
+import java.sql.NClob;
9782d3
 import java.sql.Ref;
9782d3
+import java.sql.RowId;
9782d3
 import java.sql.SQLException;
9782d3
+import java.sql.SQLFeatureNotSupportedException;
9782d3
+import java.sql.SQLXML;
9782d3
 import java.sql.Time;
9782d3
 import java.sql.Timestamp;
9782d3
 import java.util.Calendar;
9782d3
@@ -2636,4 +2640,169 @@ public class CallableStatementWrapper ex
9782d3
 //		throw SQLError.notImplemented();
9782d3
 //	}
9782d3
 
9782d3
+	@Override
9782d3
+	public <T> T getObject(int parameterIndex, Class<T> type) throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public <T> T getObject(String parameterName, Class<T> type) throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public void setBlob(String parameterName, InputStream inputStream) throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public void setClob(String parameterName, Reader reader) throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public void setNCharacterStream(String parameterName, Reader value) throws SQLException{
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public void setCharacterStream(String parameterName, java.io.Reader reader) throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public void setBinaryStream(String parameterName, java.io.InputStream x) throws SQLException {
9782d3
+    	throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+    }
9782d3
+    
9782d3
+	@Override
9782d3
+	public void setAsciiStream(String parameterName, java.io.InputStream x) throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public void setCharacterStream(String parameterName, java.io.Reader reader, long length) throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public void setBinaryStream(String parameterName, java.io.InputStream x, long length) throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public void setAsciiStream(String parameterName, java.io.InputStream x, long length) throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public void setClob (String parameterName, Clob x) throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public void setBlob (String parameterName, Blob x) throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public java.io.Reader getCharacterStream(String parameterName) throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public java.io.Reader getCharacterStream(int parameterIndex) throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public java.io.Reader getNCharacterStream(String parameterName) throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public java.io.Reader getNCharacterStream(int parameterIndex) throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public String getNString(String parameterName) throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public String getNString(int parameterIndex) throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public SQLXML getSQLXML(String parameterName) throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public SQLXML getSQLXML(int parameterIndex) throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public void setSQLXML(String parameterName, SQLXML xmlObject) throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public NClob getNClob (String parameterName) throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public NClob getNClob (int parameterIndex) throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public void setNClob(String parameterName, Reader reader, long length) throws SQLException  {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public void setBlob(String parameterName, InputStream inputStream, long length)	throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public void setClob(String parameterName, Reader reader, long length) throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public void setNClob(String parameterName, NClob value) throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public void setNCharacterStream(String parameterName, Reader value, long length) throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public void setNString(String parameterName, String value) throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public void setRowId(String parameterName, RowId x) throws SQLException  {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public RowId getRowId(String parameterName) throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public RowId getRowId(int parameterIndex) throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+
9782d3
 }
9782d3
diff -rup mysql-connector-java-5.1.24-nopatch/src/com/mysql/jdbc/jdbc2/optional/ConnectionWrapper.java mysql-connector-java-5.1.24-patched/src/com/mysql/jdbc/jdbc2/optional/ConnectionWrapper.java
9782d3
--- mysql-connector-java-5.1.24-nopatch/src/com/mysql/jdbc/jdbc2/optional/ConnectionWrapper.java	2013-03-11 07:20:52.000000000 +0100
9782d3
+++ mysql-connector-java-5.1.24-patched/src/com/mysql/jdbc/jdbc2/optional/ConnectionWrapper.java	2013-04-08 16:29:34.354742614 +0200
9782d3
@@ -26,8 +26,15 @@
9782d3
 package com.mysql.jdbc.jdbc2.optional;
9782d3
 
9782d3
 import java.lang.reflect.Constructor;
9782d3
+import java.sql.Blob;
9782d3
+import java.sql.Clob;
9782d3
+import java.sql.NClob;
9782d3
 import java.sql.SQLException;
9782d3
+import java.sql.SQLXML;
9782d3
 import java.sql.Savepoint;
9782d3
+import java.sql.SQLClientInfoException;
9782d3
+import java.sql.SQLFeatureNotSupportedException;
9782d3
+import java.sql.Struct;
9782d3
 import java.sql.Statement;
9782d3
 import java.util.Map;
9782d3
 import java.util.Properties;
9782d3
@@ -2834,4 +2841,68 @@ public class ConnectionWrapper extends W
9782d3
 		return this.mc.getConnectionMutex();
9782d3
 	}
9782d3
 
9782d3
-}
9782d3
\ No newline at end of file
9782d3
+	@Override
9782d3
+	public Struct createStruct(String typeName, Object[] attributes) throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public java.sql.Array createArrayOf(String typeName, Object[] elements) throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public String getClientInfo(String name) throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public Properties getClientInfo() throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	@Override
9782d3
+	public void setClientInfo(String name, String value) throws SQLClientInfoException {
9782d3
+		//throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public void setClientInfo(Properties properties) throws SQLClientInfoException {
9782d3
+		//throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public boolean isValid(int timeout) throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public SQLXML createSQLXML() throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public NClob createNClob() throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public Blob createBlob() throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public Clob createClob() throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public boolean isWrapperFor(java.lang.Class iface) throws java.sql.SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public <T> T unwrap(java.lang.Class<T> iface) throws java.sql.SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+
9782d3
+}
9782d3
diff -rup mysql-connector-java-5.1.24-nopatch/src/com/mysql/jdbc/jdbc2/optional/MysqlDataSource.java mysql-connector-java-5.1.24-patched/src/com/mysql/jdbc/jdbc2/optional/MysqlDataSource.java
9782d3
--- mysql-connector-java-5.1.24-nopatch/src/com/mysql/jdbc/jdbc2/optional/MysqlDataSource.java	2013-03-11 07:20:52.000000000 +0100
9782d3
+++ mysql-connector-java-5.1.24-patched/src/com/mysql/jdbc/jdbc2/optional/MysqlDataSource.java	2013-04-08 16:29:34.355742615 +0200
9782d3
@@ -28,8 +28,10 @@ package com.mysql.jdbc.jdbc2.optional;
9782d3
 import java.io.PrintWriter;
9782d3
 import java.io.Serializable;
9782d3
 import java.sql.SQLException;
9782d3
+import java.sql.SQLFeatureNotSupportedException;
9782d3
 import java.util.Iterator;
9782d3
 import java.util.Properties;
9782d3
+import java.util.logging.Logger;
9782d3
 
9782d3
 import javax.naming.NamingException;
9782d3
 import javax.naming.Reference;
9782d3
@@ -450,4 +452,19 @@ public class MysqlDataSource extends Con
9782d3
 //	public <T> T unwrap(Class<T> iface) throws SQLException {
9782d3
 //		throw SQLError.notImplemented();
9782d3
 //	}
9782d3
+
9782d3
+	@Override
9782d3
+	public Logger getParentLogger() throws SQLFeatureNotSupportedException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public <T> T unwrap(java.lang.Class<T> iface) throws java.sql.SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public boolean isWrapperFor(java.lang.Class iface) throws java.sql.SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
 }
9782d3
diff -rup mysql-connector-java-5.1.24-nopatch/src/com/mysql/jdbc/jdbc2/optional/MysqlPooledConnection.java mysql-connector-java-5.1.24-patched/src/com/mysql/jdbc/jdbc2/optional/MysqlPooledConnection.java
9782d3
--- mysql-connector-java-5.1.24-nopatch/src/com/mysql/jdbc/jdbc2/optional/MysqlPooledConnection.java	2013-03-11 07:20:52.000000000 +0100
9782d3
+++ mysql-connector-java-5.1.24-patched/src/com/mysql/jdbc/jdbc2/optional/MysqlPooledConnection.java	2013-04-08 16:29:34.356742615 +0200
9782d3
@@ -27,6 +27,7 @@ package com.mysql.jdbc.jdbc2.optional;
9782d3
 import java.lang.reflect.Constructor;
9782d3
 import java.sql.Connection;
9782d3
 import java.sql.SQLException;
9782d3
+import java.sql.SQLFeatureNotSupportedException;
9782d3
 import java.util.HashMap;
9782d3
 import java.util.Iterator;
9782d3
 import java.util.Map;
9782d3
@@ -34,6 +35,7 @@ import java.util.Map;
9782d3
 import javax.sql.ConnectionEvent;
9782d3
 import javax.sql.ConnectionEventListener;
9782d3
 import javax.sql.PooledConnection;
9782d3
+import javax.sql.StatementEventListener;
9782d3
 
9782d3
 import com.mysql.jdbc.ExceptionInterceptor;
9782d3
 import com.mysql.jdbc.SQLError;
9782d3
@@ -254,4 +256,13 @@ public class MysqlPooledConnection imple
9782d3
 	protected ExceptionInterceptor getExceptionInterceptor() {
9782d3
 		return this.exceptionInterceptor;
9782d3
 	}
9782d3
-}
9782d3
\ No newline at end of file
9782d3
+
9782d3
+	@Override
9782d3
+	public void addStatementEventListener(StatementEventListener listener) {
9782d3
+        }
9782d3
+
9782d3
+	@Override
9782d3
+	public void removeStatementEventListener(StatementEventListener listener) {
9782d3
+        }
9782d3
+
9782d3
+}
9782d3
diff -rup mysql-connector-java-5.1.24-nopatch/src/com/mysql/jdbc/jdbc2/optional/PreparedStatementWrapper.java mysql-connector-java-5.1.24-patched/src/com/mysql/jdbc/jdbc2/optional/PreparedStatementWrapper.java
9782d3
--- mysql-connector-java-5.1.24-nopatch/src/com/mysql/jdbc/jdbc2/optional/PreparedStatementWrapper.java	2013-03-11 07:20:52.000000000 +0100
9782d3
+++ mysql-connector-java-5.1.24-patched/src/com/mysql/jdbc/jdbc2/optional/PreparedStatementWrapper.java	2013-04-08 16:29:34.357742615 +0200
9782d3
@@ -34,12 +34,16 @@ import java.sql.Array;
9782d3
 import java.sql.Blob;
9782d3
 import java.sql.Clob;
9782d3
 import java.sql.Date;
9782d3
+import java.sql.NClob;
9782d3
 import java.sql.ParameterMetaData;
9782d3
 import java.sql.PreparedStatement;
9782d3
 import java.sql.Ref;
9782d3
 import java.sql.ResultSet;
9782d3
 import java.sql.ResultSetMetaData;
9782d3
+import java.sql.RowId;
9782d3
 import java.sql.SQLException;
9782d3
+import java.sql.SQLFeatureNotSupportedException;
9782d3
+import java.sql.SQLXML;
9782d3
 import java.sql.Time;
9782d3
 import java.sql.Timestamp;
9782d3
 import java.util.Calendar;
9782d3
@@ -1224,4 +1228,107 @@ public class PreparedStatementWrapper ex
9782d3
 //	public Object unwrap(Class arg0) throws SQLException {
9782d3
 //		throw SQLError.notImplemented();
9782d3
 //	}
9782d3
+
9782d3
+	public void setNClob(String parameterName, NClob value) throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	public void setNClob(String parameterName, Reader reader, long length) throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	public void setNClob(String parameterName, Reader reader) throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public void setNClob(int parameterName, NClob value) throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public void setNClob(int parameterName, Reader reader, long length) throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public void setNClob(int parameterName, Reader reader) throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public void setBlob(int parameterIndex, InputStream inputStream) throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public void setClob(int parameterIndex, Reader reader) throws SQLException{
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public void setNCharacterStream(int parameterIndex, Reader value) throws SQLException{
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public void setCharacterStream(int parameterIndex, java.io.Reader reader) throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public void setBinaryStream(int parameterIndex, java.io.InputStream x) throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public void setAsciiStream(int parameterIndex, java.io.InputStream x) throws SQLException{
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public void setCharacterStream(int parameterIndex, java.io.Reader reader, long length) throws SQLException{
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public void setBinaryStream(int parameterIndex, java.io.InputStream x, long length) throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public void setAsciiStream(int parameterIndex, java.io.InputStream x, long length) throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public void setSQLXML(int parameterIndex, SQLXML xmlObject) throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public void setBlob(int parameterIndex, InputStream inputStream, long length) throws SQLException{
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public void setClob(int parameterIndex, Reader reader, long length) throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public void setNCharacterStream(int parameterIndex, Reader value, long length) throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public void setNString(int parameterIndex, String value) throws SQLException{
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public void setRowId(int parameterIndex, RowId x) throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+
9782d3
 }
9782d3
diff -rup mysql-connector-java-5.1.24-nopatch/src/com/mysql/jdbc/jdbc2/optional/StatementWrapper.java mysql-connector-java-5.1.24-patched/src/com/mysql/jdbc/jdbc2/optional/StatementWrapper.java
9782d3
--- mysql-connector-java-5.1.24-nopatch/src/com/mysql/jdbc/jdbc2/optional/StatementWrapper.java	2013-03-11 07:20:52.000000000 +0100
9782d3
+++ mysql-connector-java-5.1.24-patched/src/com/mysql/jdbc/jdbc2/optional/StatementWrapper.java	2013-04-08 16:29:34.358742615 +0200
9782d3
@@ -29,6 +29,7 @@ import java.lang.reflect.Constructor;
9782d3
 import java.sql.Connection;
9782d3
 import java.sql.ResultSet;
9782d3
 import java.sql.SQLException;
9782d3
+import java.sql.SQLFeatureNotSupportedException;
9782d3
 import java.sql.SQLWarning;
9782d3
 import java.sql.Statement;
9782d3
 
9782d3
@@ -866,4 +867,41 @@ public class StatementWrapper extends Wr
9782d3
 			checkAndFireConnectionError(sqlEx);
9782d3
 		}
9782d3
 	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public boolean isCloseOnCompletion() throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public void closeOnCompletion() throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public boolean isPoolable()  throws SQLException{
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public void setPoolable(boolean poolable) throws SQLException{
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public boolean isClosed() throws SQLException{
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public boolean isWrapperFor(java.lang.Class iface) throws java.sql.SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public <T> T unwrap(java.lang.Class<T> iface) throws java.sql.SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+
9782d3
+
9782d3
 }
9782d3
diff -rup mysql-connector-java-5.1.24-nopatch/src/com/mysql/jdbc/JDBC4Connection.java mysql-connector-java-5.1.24-patched/src/com/mysql/jdbc/JDBC4Connection.java
9782d3
--- mysql-connector-java-5.1.24-nopatch/src/com/mysql/jdbc/JDBC4Connection.java	2013-03-11 07:20:52.000000000 +0100
9782d3
+++ mysql-connector-java-5.1.24-patched/src/com/mysql/jdbc/JDBC4Connection.java	2013-04-08 16:29:34.358742615 +0200
9782d3
@@ -28,9 +28,11 @@ import java.sql.Blob;
9782d3
 import java.sql.Clob;
9782d3
 import java.sql.SQLClientInfoException;
9782d3
 import java.sql.SQLException;
9782d3
+import java.sql.SQLFeatureNotSupportedException;
9782d3
 import java.sql.SQLXML;
9782d3
 import java.sql.NClob;
9782d3
 import java.sql.Struct;
9782d3
+import java.util.concurrent.Executor;
9782d3
 import java.util.Properties;
9782d3
 import java.util.TimerTask;
9782d3
 
9782d3
@@ -200,7 +202,8 @@ public class JDBC4Connection extends Con
9782d3
 	/**
9782d3
 	 * @see java.sql.Connection#createClob()
9782d3
 	 */
9782d3
-	public Clob createClob() {
9782d3
+	@Override
9782d3
+	public com.mysql.jdbc.Clob createClob() throws SQLException {
9782d3
 	    return new com.mysql.jdbc.Clob(getExceptionInterceptor());
9782d3
 	}
9782d3
 
9782d3
@@ -238,4 +241,25 @@ public class JDBC4Connection extends Con
9782d3
 			return this.infoProvider;
9782d3
 		}
9782d3
 	}
9782d3
+
9782d3
+	public int getNetworkTimeout() throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+
9782d3
+	public void setNetworkTimeout(Executor executor, int millis) throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+
9782d3
+	public void abort(Executor executor) throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+
9782d3
+	public String getSchema() throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+
9782d3
+	public void setSchema(String schema) throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+
9782d3
 }
9782d3
diff -rup mysql-connector-java-5.1.24-nopatch/src/com/mysql/jdbc/JDBC4LoadBalancedMySQLConnection.java mysql-connector-java-5.1.24-patched/src/com/mysql/jdbc/JDBC4LoadBalancedMySQLConnection.java
9782d3
--- mysql-connector-java-5.1.24-nopatch/src/com/mysql/jdbc/JDBC4LoadBalancedMySQLConnection.java	2013-03-11 07:20:52.000000000 +0100
9782d3
+++ mysql-connector-java-5.1.24-patched/src/com/mysql/jdbc/JDBC4LoadBalancedMySQLConnection.java	2013-04-08 16:29:34.359742615 +0200
9782d3
@@ -29,9 +29,11 @@ import java.sql.Blob;
9782d3
 import java.sql.Clob;
9782d3
 import java.sql.SQLClientInfoException;
9782d3
 import java.sql.SQLException;
9782d3
+import java.sql.SQLFeatureNotSupportedException;
9782d3
 import java.sql.SQLXML;
9782d3
 import java.sql.NClob;
9782d3
 import java.sql.Struct;
9782d3
+import java.util.concurrent.Executor;
9782d3
 import java.util.Properties;
9782d3
 import java.util.TimerTask;
9782d3
 
9782d3
@@ -109,21 +111,24 @@ public class JDBC4LoadBalancedMySQLConne
9782d3
 	/**
9782d3
 	 * @see java.sql.Connection#createBlob()
9782d3
 	 */
9782d3
-	public Blob createBlob() {
9782d3
+	@Override
9782d3
+	public Blob createBlob() throws SQLException {
9782d3
 	    return this.getJDBC4Connection().createBlob();
9782d3
 	}
9782d3
 
9782d3
 	/**
9782d3
 	 * @see java.sql.Connection#createClob()
9782d3
 	 */
9782d3
-	public Clob createClob() {
9782d3
+	@Override
9782d3
+	public Clob createClob() throws SQLException {
9782d3
 	    return this.getJDBC4Connection().createClob();
9782d3
 	}
9782d3
 
9782d3
 	/**
9782d3
 	 * @see java.sql.Connection#createNClob()
9782d3
 	 */
9782d3
-	public NClob createNClob() {
9782d3
+	@Override
9782d3
+	public NClob createNClob() throws SQLException {
9782d3
 	    return this.getJDBC4Connection().createNClob();
9782d3
 	}
9782d3
 	
9782d3
@@ -133,6 +138,26 @@ public class JDBC4LoadBalancedMySQLConne
9782d3
 		}
9782d3
 	
9782d3
 	}
9782d3
+
9782d3
+	public int getNetworkTimeout() throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+
9782d3
+	public void setNetworkTimeout(Executor executor, int millis) throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+
9782d3
+	public void abort(Executor executor) throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+
9782d3
+	public String getSchema() throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+
9782d3
+	public void setSchema(String schema) throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
 	
9782d3
 	
9782d3
 }
9782d3
diff -rup mysql-connector-java-5.1.24-nopatch/src/com/mysql/jdbc/JDBC4MySQLConnection.java mysql-connector-java-5.1.24-patched/src/com/mysql/jdbc/JDBC4MySQLConnection.java
9782d3
--- mysql-connector-java-5.1.24-nopatch/src/com/mysql/jdbc/JDBC4MySQLConnection.java	2013-03-11 07:20:52.000000000 +0100
9782d3
+++ mysql-connector-java-5.1.24-patched/src/com/mysql/jdbc/JDBC4MySQLConnection.java	2013-04-08 16:29:34.360742615 +0200
9782d3
@@ -63,11 +63,14 @@ public interface JDBC4MySQLConnection ex
9782d3
 	
9782d3
     public <T> T unwrap(java.lang.Class<T> iface) throws java.sql.SQLException;
9782d3
     
9782d3
-	public Blob createBlob();
9782d3
+	@Override
9782d3
+	public Blob createBlob() throws SQLException;
9782d3
 	
9782d3
-	public Clob createClob();
9782d3
+	@Override
9782d3
+	public Clob createClob() throws SQLException;
9782d3
 	
9782d3
-	public NClob createNClob();
9782d3
+	@Override
9782d3
+	public NClob createNClob() throws SQLException;
9782d3
 	
9782d3
 	
9782d3
 }
9782d3
diff -rup mysql-connector-java-5.1.24-nopatch/src/com/mysql/jdbc/LoadBalancedMySQLConnection.java mysql-connector-java-5.1.24-patched/src/com/mysql/jdbc/LoadBalancedMySQLConnection.java
9782d3
--- mysql-connector-java-5.1.24-nopatch/src/com/mysql/jdbc/LoadBalancedMySQLConnection.java	2013-03-11 07:20:52.000000000 +0100
9782d3
+++ mysql-connector-java-5.1.24-patched/src/com/mysql/jdbc/LoadBalancedMySQLConnection.java	2013-04-08 16:29:34.361742615 +0200
9782d3
@@ -29,6 +29,14 @@ import java.sql.SQLException;
9782d3
 import java.sql.SQLWarning;
9782d3
 import java.sql.Savepoint;
9782d3
 import java.sql.Statement;
9782d3
+import java.sql.SQLFeatureNotSupportedException;
9782d3
+import java.sql.SQLClientInfoException;
9782d3
+import java.sql.Struct;
9782d3
+import java.sql.Array;
9782d3
+import java.sql.Blob;
9782d3
+import java.sql.Clob;
9782d3
+import java.sql.NClob;
9782d3
+import java.sql.SQLXML;
9782d3
 import java.util.Calendar;
9782d3
 import java.util.List;
9782d3
 import java.util.Map;
9782d3
@@ -2546,34 +2554,34 @@ public class LoadBalancedMySQLConnection
9782d3
 		getActiveMySQLConnection().setIncludeThreadNamesAsStatementComment(flag);
9782d3
 	}
9782d3
 
9782d3
-	public boolean isServerLocal() throws SQLException {
9782d3
-		return getActiveMySQLConnection().isServerLocal();
9782d3
-	}
9782d3
-
9782d3
-	public void setAuthenticationPlugins(String authenticationPlugins) {
9782d3
-		getActiveMySQLConnection().setAuthenticationPlugins(authenticationPlugins);
9782d3
-	}
9782d3
-
9782d3
-	public String getAuthenticationPlugins() {
9782d3
-		return getActiveMySQLConnection().getAuthenticationPlugins();
9782d3
-	}
9782d3
-
9782d3
-	public void setDisabledAuthenticationPlugins(
9782d3
-			String disabledAuthenticationPlugins) {
9782d3
-		getActiveMySQLConnection().setDisabledAuthenticationPlugins(disabledAuthenticationPlugins);
9782d3
-	}
9782d3
-
9782d3
-	public String getDisabledAuthenticationPlugins() {
9782d3
-		return getActiveMySQLConnection().getDisabledAuthenticationPlugins();
9782d3
-	}
9782d3
-
9782d3
-	public void setDefaultAuthenticationPlugin(
9782d3
-			String defaultAuthenticationPlugin) {
9782d3
-		getActiveMySQLConnection().setDefaultAuthenticationPlugin(defaultAuthenticationPlugin);
9782d3
-	}
9782d3
-
9782d3
-	public String getDefaultAuthenticationPlugin() {
9782d3
-		return getActiveMySQLConnection().getDefaultAuthenticationPlugin();
9782d3
+	public boolean isServerLocal() throws SQLException {
9782d3
+		return getActiveMySQLConnection().isServerLocal();
9782d3
+	}
9782d3
+
9782d3
+	public void setAuthenticationPlugins(String authenticationPlugins) {
9782d3
+		getActiveMySQLConnection().setAuthenticationPlugins(authenticationPlugins);
9782d3
+	}
9782d3
+
9782d3
+	public String getAuthenticationPlugins() {
9782d3
+		return getActiveMySQLConnection().getAuthenticationPlugins();
9782d3
+	}
9782d3
+
9782d3
+	public void setDisabledAuthenticationPlugins(
9782d3
+			String disabledAuthenticationPlugins) {
9782d3
+		getActiveMySQLConnection().setDisabledAuthenticationPlugins(disabledAuthenticationPlugins);
9782d3
+	}
9782d3
+
9782d3
+	public String getDisabledAuthenticationPlugins() {
9782d3
+		return getActiveMySQLConnection().getDisabledAuthenticationPlugins();
9782d3
+	}
9782d3
+
9782d3
+	public void setDefaultAuthenticationPlugin(
9782d3
+			String defaultAuthenticationPlugin) {
9782d3
+		getActiveMySQLConnection().setDefaultAuthenticationPlugin(defaultAuthenticationPlugin);
9782d3
+	}
9782d3
+
9782d3
+	public String getDefaultAuthenticationPlugin() {
9782d3
+		return getActiveMySQLConnection().getDefaultAuthenticationPlugin();
9782d3
 	}
9782d3
 	
9782d3
 	public void setParseInfoCacheFactory(String factoryClassname) {
9782d3
@@ -2624,4 +2632,66 @@ public class LoadBalancedMySQLConnection
9782d3
 	public Object getConnectionMutex() {
9782d3
 		return getActiveMySQLConnection().getConnectionMutex();
9782d3
 	}
9782d3
+
9782d3
+	@Override
9782d3
+	public Struct createStruct(String typeName, Object[] attributes) throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public Array createArrayOf(String typeName, Object[] elements) throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	@Override
9782d3
+	public String getClientInfo(String name) throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public Properties getClientInfo() throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public void setClientInfo(Properties properties) throws SQLClientInfoException {
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public void setClientInfo(String name, String value) throws SQLClientInfoException {
9782d3
+	}
9782d3
+	@Override
9782d3
+	public boolean isValid(int timeout) throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public SQLXML createSQLXML() throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public NClob createNClob() throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public Blob createBlob() throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public Clob createClob() throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public boolean isWrapperFor(java.lang.Class iface) throws java.sql.SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public <T> T unwrap(java.lang.Class<T> iface) throws java.sql.SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+
9782d3
 }
9782d3
diff -rup mysql-connector-java-5.1.24-nopatch/src/com/mysql/jdbc/MysqlParameterMetadata.java mysql-connector-java-5.1.24-patched/src/com/mysql/jdbc/MysqlParameterMetadata.java
9782d3
--- mysql-connector-java-5.1.24-nopatch/src/com/mysql/jdbc/MysqlParameterMetadata.java	2013-03-11 07:20:52.000000000 +0100
9782d3
+++ mysql-connector-java-5.1.24-patched/src/com/mysql/jdbc/MysqlParameterMetadata.java	2013-04-08 16:29:34.364742616 +0200
9782d3
@@ -26,6 +26,7 @@ package com.mysql.jdbc;
9782d3
 
9782d3
 import java.sql.ParameterMetaData;
9782d3
 import java.sql.SQLException;
9782d3
+import java.sql.SQLFeatureNotSupportedException;
9782d3
 import java.sql.Types;
9782d3
 
9782d3
 public class MysqlParameterMetadata implements ParameterMetaData {
9782d3
@@ -202,11 +203,11 @@ public class MysqlParameterMetadata impl
9782d3
      * @throws java.sql.SQLException If no object found that implements the interface 
9782d3
      * @since 1.6
9782d3
      */
9782d3
-	public Object unwrap(Class iface) throws java.sql.SQLException {
9782d3
+	public <T> T unwrap(java.lang.Class<T> iface) throws java.sql.SQLException {
9782d3
     	try {
9782d3
     		// This works for classes that aren't actually wrapping
9782d3
     		// anything
9782d3
-    		return Util.cast(iface, this);
9782d3
+    		return iface.cast(this);
9782d3
         } catch (ClassCastException cce) {
9782d3
             throw SQLError.createSQLException("Unable to unwrap to " + iface.toString(), 
9782d3
             		SQLError.SQL_STATE_ILLEGAL_ARGUMENT, this.exceptionInterceptor);
9782d3
diff -rup mysql-connector-java-5.1.24-nopatch/src/com/mysql/jdbc/NonRegisteringDriver.java mysql-connector-java-5.1.24-patched/src/com/mysql/jdbc/NonRegisteringDriver.java
9782d3
--- mysql-connector-java-5.1.24-nopatch/src/com/mysql/jdbc/NonRegisteringDriver.java	2013-03-11 07:20:52.000000000 +0100
9782d3
+++ mysql-connector-java-5.1.24-patched/src/com/mysql/jdbc/NonRegisteringDriver.java	2013-04-08 16:29:34.365742616 +0200
9782d3
@@ -33,6 +33,7 @@ import java.lang.ref.ReferenceQueue;
9782d3
 import java.net.URLDecoder;
9782d3
 import java.sql.DriverPropertyInfo;
9782d3
 import java.sql.SQLException;
9782d3
+import java.sql.SQLFeatureNotSupportedException;
9782d3
 import java.util.ArrayList;
9782d3
 import java.util.Iterator;
9782d3
 import java.util.List;
9782d3
@@ -40,6 +41,9 @@ import java.util.Locale;
9782d3
 import java.util.Properties;
9782d3
 import java.util.StringTokenizer;
9782d3
 import java.util.concurrent.ConcurrentHashMap;
9782d3
+
9782d3
+import java.util.logging.Logger;
9782d3
+
9782d3
 /**
9782d3
  * The Java SQL framework allows for multiple database drivers. Each driver
9782d3
  * should supply a class that implements the Driver interface
9782d3
@@ -937,4 +941,9 @@ public class NonRegisteringDriver implem
9782d3
 			}
9782d3
 		}
9782d3
 	}
9782d3
+
9782d3
+	@Override
9782d3
+	public Logger getParentLogger() throws SQLFeatureNotSupportedException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
 }
9782d3
diff -rup mysql-connector-java-5.1.24-nopatch/src/com/mysql/jdbc/PreparedStatement.java mysql-connector-java-5.1.24-patched/src/com/mysql/jdbc/PreparedStatement.java
9782d3
--- mysql-connector-java-5.1.24-nopatch/src/com/mysql/jdbc/PreparedStatement.java	2013-03-11 07:20:52.000000000 +0100
9782d3
+++ mysql-connector-java-5.1.24-patched/src/com/mysql/jdbc/PreparedStatement.java	2013-04-08 16:29:34.368742616 +0200
9782d3
@@ -40,6 +40,7 @@ import java.nio.charset.Charset;
9782d3
 import java.nio.charset.CharsetEncoder;
9782d3
 import java.sql.Array;
9782d3
 import java.sql.Clob;
9782d3
+import java.sql.NClob;
9782d3
 import java.sql.DatabaseMetaData;
9782d3
 import java.sql.Date;
9782d3
 import java.sql.ParameterMetaData;
9782d3
@@ -48,6 +49,9 @@ import java.sql.SQLException;
9782d3
 import java.sql.Time;
9782d3
 import java.sql.Timestamp;
9782d3
 import java.sql.Types;
9782d3
+import java.sql.SQLFeatureNotSupportedException;
9782d3
+import java.sql.SQLXML;
9782d3
+import java.sql.RowId;
9782d3
 import java.text.ParsePosition;
9782d3
 import java.text.SimpleDateFormat;
9782d3
 import java.util.ArrayList;
9782d3
@@ -5757,4 +5761,20 @@ public class PreparedStatement extends c
9782d3
 						statementStartPos, sql, "SELECT", "\"'`",
9782d3
 						"\"'`", false) == -1 && rewritableOdku;
9782d3
 	}
9782d3
+
9782d3
+	@Override
9782d3
+	public void setSQLXML(int parameterIndex, SQLXML xmlObject) throws SQLException{
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public void setNClob(int parameterIndex, NClob value) throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public void setRowId(int parameterIndex, RowId x) throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+
9782d3
 }
9782d3
diff -rup mysql-connector-java-5.1.24-nopatch/src/com/mysql/jdbc/ReplicationConnection.java mysql-connector-java-5.1.24-patched/src/com/mysql/jdbc/ReplicationConnection.java
9782d3
--- mysql-connector-java-5.1.24-nopatch/src/com/mysql/jdbc/ReplicationConnection.java	2013-03-11 07:20:52.000000000 +0100
9782d3
+++ mysql-connector-java-5.1.24-patched/src/com/mysql/jdbc/ReplicationConnection.java	2013-04-08 16:29:34.463742625 +0200
9782d3
@@ -21,6 +21,12 @@
9782d3
  */
9782d3
 package com.mysql.jdbc;
9782d3
 
9782d3
+import java.sql.Blob;
9782d3
+import java.sql.NClob;
9782d3
+import java.sql.SQLXML;
9782d3
+import java.sql.SQLFeatureNotSupportedException;
9782d3
+import java.sql.SQLClientInfoException;
9782d3
+import java.sql.Struct;
9782d3
 import java.sql.CallableStatement;
9782d3
 import java.sql.DatabaseMetaData;
9782d3
 import java.sql.PreparedStatement;
9782d3
@@ -2643,4 +2649,67 @@ public class ReplicationConnection imple
9782d3
 	public Object getConnectionMutex() {
9782d3
 		return getCurrentConnection().getConnectionMutex();
9782d3
 	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public Struct createStruct(String typeName, Object[] attributes) throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public java.sql.Array createArrayOf(String typeName, Object[] elements) throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public String getClientInfo(String name) throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public Properties getClientInfo() throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public void setClientInfo(String name, String value)     throws SQLClientInfoException {
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public void setClientInfo(Properties properties) throws SQLClientInfoException {
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public boolean isValid(int timeout) throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public SQLXML createSQLXML() throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public NClob createNClob() throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public Blob createBlob() throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public Clob createClob() throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public boolean isWrapperFor(java.lang.Class iface) throws java.sql.SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public <T> T unwrap(java.lang.Class<T> iface) throws java.sql.SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
 }
9782d3
diff -rup mysql-connector-java-5.1.24-nopatch/src/com/mysql/jdbc/ResultSetImpl.java mysql-connector-java-5.1.24-patched/src/com/mysql/jdbc/ResultSetImpl.java
9782d3
--- mysql-connector-java-5.1.24-nopatch/src/com/mysql/jdbc/ResultSetImpl.java	2013-03-11 07:20:52.000000000 +0100
9782d3
+++ mysql-connector-java-5.1.24-patched/src/com/mysql/jdbc/ResultSetImpl.java	2013-04-08 16:29:34.493742627 +0200
9782d3
@@ -29,6 +29,7 @@ import java.io.ByteArrayInputStream;
9782d3
 import java.io.IOException;
9782d3
 import java.io.InputStream;
9782d3
 import java.io.ObjectInputStream;
9782d3
+import java.io.Reader;
9782d3
 import java.io.StringReader;
9782d3
 import java.io.UnsupportedEncodingException;
9782d3
 import java.lang.reflect.Constructor;
9782d3
@@ -38,9 +39,13 @@ import java.net.MalformedURLException;
9782d3
 import java.net.URL;
9782d3
 import java.sql.Array;
9782d3
 import java.sql.Date;
9782d3
+import java.sql.NClob;
9782d3
 import java.sql.Ref;
9782d3
+import java.sql.RowId;
9782d3
 import java.sql.SQLException;
9782d3
 import java.sql.SQLWarning;
9782d3
+import java.sql.SQLFeatureNotSupportedException;
9782d3
+import java.sql.SQLXML;
9782d3
 import java.sql.Time;
9782d3
 import java.sql.Timestamp;
9782d3
 import java.sql.Types;
9782d3
@@ -8747,4 +8752,258 @@ public class ResultSetImpl implements Re
9782d3
 	protected ExceptionInterceptor getExceptionInterceptor() {
9782d3
 		return this.exceptionInterceptor;
9782d3
 	}
9782d3
+
9782d3
+	@Override
9782d3
+	public void updateNClob(int columnIndex, NClob nClob) throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public void updateNClob(String columnLabel,  Reader reader) throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public void updateNClob(int columnIndex,  Reader reader, long length) throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public void updateNClob(String columnLabel,  Reader reader, long length) throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public void updateNClob(int columnIndex,  Reader reader) throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public void updateClob(int columnIndex,  Reader reader) throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public void updateClob(String columnLabel,  Reader reader) throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public void updateClob(int columnIndex,  Reader reader, long length) throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public void updateClob(String columnLabel,  Reader reader, long length) throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public void updateBlob(int columnIndex, InputStream inputStream) throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public void updateBlob(String columnLabel, InputStream inputStream) throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public void updateCharacterStream(String columnLabel, java.io.Reader reader) throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public void updateBinaryStream(String columnLabel, java.io.InputStream x) throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public void updateAsciiStream(String columnLabel, java.io.InputStream x) throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public void updateCharacterStream(int columnIndex, java.io.Reader x) throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public void updateBinaryStream(int columnIndex, java.io.InputStream x) throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	
9782d3
+	@Override
9782d3
+	public void updateAsciiStream(int columnIndex, java.io.InputStream x) throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public void updateNCharacterStream(String columnLabel, java.io.Reader reader) throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public void updateNCharacterStream(int columnIndex, java.io.Reader x) throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	
9782d3
+	@Override
9782d3
+	public void updateBlob(int columnIndex, InputStream inputStream, long length) throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public void updateBlob(String columnLabel, InputStream inputStream, long length) throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public void updateCharacterStream(String columnLabel, java.io.Reader reader, long length) throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public void updateBinaryStream(String columnLabel, java.io.InputStream x, long length) throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public void updateAsciiStream(String columnLabel, java.io.InputStream x, long length) throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public void updateCharacterStream(int columnIndex, java.io.Reader x, long length) throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public void updateBinaryStream(int columnIndex, java.io.InputStream x, long length) throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	
9782d3
+	@Override
9782d3
+	public void updateAsciiStream(int columnIndex, java.io.InputStream x, long length) throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public void updateNCharacterStream(String columnLabel, java.io.Reader reader, long length) throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public void updateNCharacterStream(int columnIndex, java.io.Reader x, long length) throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public java.io.Reader getNCharacterStream(int columnIndex) throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public java.io.Reader getNCharacterStream(String columnIndex) throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public String getNString(int columnIndex) throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public String getNString(String columnIndex) throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public void updateSQLXML(int columnIndex, SQLXML xmlObject) throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public void updateSQLXML(String columnLabel, SQLXML xmlObject) throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public SQLXML getSQLXML(int columnIndex) throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public SQLXML getSQLXML(String columnLabel) throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public NClob getNClob(int columnIndex) throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public NClob getNClob(String columnLabel) throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public void updateNClob(String columnLabel,  NClob nClob) throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public void updateNString(String columnLabel, String nString) throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public void updateNString(int columnLabel, String nString) throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public boolean isClosed() throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public int getHoldability() throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public void updateRowId(int columnIndex, RowId x) throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public void updateRowId(String columnLabel, RowId x) throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public RowId getRowId(int columnIndex) throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public RowId getRowId(String columnIndex) throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public boolean isWrapperFor(java.lang.Class iface) throws java.sql.SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	
9782d3
+	@Override
9782d3
+	public <T> T unwrap(java.lang.Class<T> iface) throws java.sql.SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+
9782d3
 }
9782d3
diff -rup mysql-connector-java-5.1.24-nopatch/src/com/mysql/jdbc/ResultSetMetaData.java mysql-connector-java-5.1.24-patched/src/com/mysql/jdbc/ResultSetMetaData.java
9782d3
--- mysql-connector-java-5.1.24-nopatch/src/com/mysql/jdbc/ResultSetMetaData.java	2013-03-11 07:20:52.000000000 +0100
9782d3
+++ mysql-connector-java-5.1.24-patched/src/com/mysql/jdbc/ResultSetMetaData.java	2013-04-08 16:29:34.515742630 +0200
9782d3
@@ -23,7 +23,9 @@
9782d3
  */
9782d3
 package com.mysql.jdbc;
9782d3
 
9782d3
+import java.sql.NClob;
9782d3
 import java.sql.SQLException;
9782d3
+import java.sql.SQLFeatureNotSupportedException;
9782d3
 import java.sql.Types;
9782d3
 
9782d3
 /**
9782d3
@@ -849,14 +851,18 @@ public class ResultSetMetaData implement
9782d3
      * @throws java.sql.SQLException If no object found that implements the interface 
9782d3
      * @since 1.6
9782d3
      */
9782d3
-	public Object unwrap(Class iface) throws java.sql.SQLException {
9782d3
+	public <T> T unwrap(java.lang.Class<T> iface) throws java.sql.SQLException {
9782d3
     	try {
9782d3
     		// This works for classes that aren't actually wrapping
9782d3
     		// anything
9782d3
-    		return Util.cast(iface, this);
9782d3
+    		return iface.cast(this);
9782d3
         } catch (ClassCastException cce) {
9782d3
             throw SQLError.createSQLException("Unable to unwrap to " + iface.toString(), 
9782d3
             		SQLError.SQL_STATE_ILLEGAL_ARGUMENT, this.exceptionInterceptor);
9782d3
         }
9782d3
     }
9782d3
+
9782d3
+	public void updateNClob(int columnIndex, NClob nClob) throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
 }
9782d3
diff -rup mysql-connector-java-5.1.24-nopatch/src/com/mysql/jdbc/StatementImpl.java mysql-connector-java-5.1.24-patched/src/com/mysql/jdbc/StatementImpl.java
9782d3
--- mysql-connector-java-5.1.24-nopatch/src/com/mysql/jdbc/StatementImpl.java	2013-03-11 07:20:52.000000000 +0100
9782d3
+++ mysql-connector-java-5.1.24-patched/src/com/mysql/jdbc/StatementImpl.java	2013-04-08 16:29:34.543742632 +0200
9782d3
@@ -29,6 +29,8 @@ import java.sql.ResultSet;
9782d3
 import java.sql.SQLException;
9782d3
 import java.sql.SQLWarning;
9782d3
 import java.sql.Types;
9782d3
+import java.sql.SQLFeatureNotSupportedException;
9782d3
+import java.sql.*;
9782d3
 import java.util.ArrayList;
9782d3
 import java.util.Calendar;
9782d3
 import java.util.Collections;
9782d3
@@ -2971,16 +2973,16 @@ public class StatementImpl implements St
9782d3
      * @throws java.sql.SQLException If no object found that implements the interface
9782d3
      * @since 1.6
9782d3
      */
9782d3
-	public Object unwrap(Class iface) throws java.sql.SQLException {
9782d3
+	public <T> T unwrap(java.lang.Class<T> iface) throws java.sql.SQLException {
9782d3
     	try {
9782d3
     		// This works for classes that aren't actually wrapping
9782d3
     		// anything
9782d3
-            return Util.cast(iface, this);
9782d3
+            return iface.cast(this);
9782d3
         } catch (ClassCastException cce) {
9782d3
             throw SQLError.createSQLException("Unable to unwrap to " + iface.toString(),
9782d3
             		SQLError.SQL_STATE_ILLEGAL_ARGUMENT, getExceptionInterceptor());
9782d3
         }
9782d3
-    }
9782d3
+	}
9782d3
 
9782d3
 	protected int findStartOfStatement(String sql) {
9782d3
 		int statementStartPos = 0;
9782d3
@@ -3051,4 +3053,4 @@ public class StatementImpl implements St
9782d3
 			return closeOnCompletion;
9782d3
 		}
9782d3
 	}
9782d3
-}
9782d3
\ No newline at end of file
9782d3
+}
9782d3
diff -rup mysql-connector-java-5.1.24-nopatch/src/testsuite/regression/StatementRegressionTest.java mysql-connector-java-5.1.24-patched/src/testsuite/regression/StatementRegressionTest.java
9782d3
--- mysql-connector-java-5.1.24-nopatch/src/testsuite/regression/StatementRegressionTest.java	2013-03-11 07:20:52.000000000 +0100
9782d3
+++ mysql-connector-java-5.1.24-patched/src/testsuite/regression/StatementRegressionTest.java	2013-04-08 16:29:34.592742637 +0200
9782d3
@@ -55,6 +55,11 @@ import java.sql.Ref;
9782d3
 import java.sql.ResultSet;
9782d3
 import java.sql.ResultSetMetaData;
9782d3
 import java.sql.SQLException;
9782d3
+import java.sql.SQLFeatureNotSupportedException;
9782d3
+import java.sql.NClob;
9782d3
+import java.sql.RowId;
9782d3
+import java.sql.SQLFeatureNotSupportedException;
9782d3
+import java.sql.SQLXML;
9782d3
 import java.sql.SQLWarning;
9782d3
 import java.sql.Statement;
9782d3
 import java.sql.Time;
9782d3
@@ -2546,7 +2551,8 @@ public class StatementRegressionTest ext
9782d3
 		try {
9782d3
 			pStmt = this.conn
9782d3
 					.prepareStatement("INSERT INTO testNullClob VALUES (?)");
9782d3
-			pStmt.setClob(1, null);
9782d3
+			Clob x = null;
9782d3
+			pStmt.setClob(1, x);
9782d3
 			pStmt.executeUpdate();
9782d3
 		} finally {
9782d3
 			if (pStmt != null) {
9782d3
@@ -5273,6 +5279,276 @@ public class StatementRegressionTest ext
9782d3
 			public int getBytesSize() throws SQLException {
9782d3
 				return 0;
9782d3
 			}
9782d3
+	@Override
9782d3
+	public <T> T getObject(int columnIndex, Class<T> type) throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+	@Override
9782d3
+	public <T> T getObject(String columnLabel, Class<T> type) throws SQLException {
9782d3
+                throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+        }
9782d3
+	@Override
9782d3
+	public void updateNClob(int columnIndex, NClob nClob) throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+
9782d3
+	@Override
9782d3
+	public void updateNClob(String columnLabel,  Reader reader) throws SQLException {
9782d3
+                throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+        }
9782d3
+
9782d3
+	@Override
9782d3
+	public void updateNClob(int columnIndex,  Reader reader, long length) throws SQLException {
9782d3
+                throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+        }
9782d3
+
9782d3
+	@Override
9782d3
+	public void updateNClob(String columnLabel,  Reader reader, long length) throws SQLException {
9782d3
+                throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+        }
9782d3
+
9782d3
+	@Override
9782d3
+	public void updateNClob(int columnIndex,  Reader reader) throws SQLException {
9782d3
+                throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+        }
9782d3
+
9782d3
+	@Override
9782d3
+	public void updateClob(int columnIndex,  Reader reader) throws SQLException {
9782d3
+                throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+        }
9782d3
+
9782d3
+	@Override
9782d3
+	public void updateClob(String columnLabel,  Reader reader) throws SQLException {
9782d3
+                throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+        }
9782d3
+
9782d3
+	@Override
9782d3
+	public void updateClob(int columnIndex,  Reader reader, long length) throws SQLException {
9782d3
+                throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+        }
9782d3
+
9782d3
+	@Override
9782d3
+	public void updateClob(String columnLabel,  Reader reader, long length) throws SQLException {
9782d3
+                throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+        }
9782d3
+
9782d3
+	@Override
9782d3
+	public void updateBlob(int columnIndex, InputStream inputStream) throws SQLException {
9782d3
+                throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+        }
9782d3
+
9782d3
+	@Override
9782d3
+	public void updateBlob(String columnLabel, InputStream inputStream) throws SQLException {
9782d3
+                throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+        }
9782d3
+
9782d3
+	@Override
9782d3
+	public void updateCharacterStream(String columnLabel, java.io.Reader reader) throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+        }
9782d3
+
9782d3
+	@Override
9782d3
+	public void updateBinaryStream(String columnLabel, java.io.InputStream x) throws SQLException {
9782d3
+                throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+        }
9782d3
+
9782d3
+	@Override
9782d3
+	public void updateAsciiStream(String columnLabel, java.io.InputStream x) throws SQLException {
9782d3
+                throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+        }
9782d3
+
9782d3
+	@Override
9782d3
+	public void updateCharacterStream(int columnIndex,
9782d3
+                             java.io.Reader x) throws SQLException {
9782d3
+                throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+        }
9782d3
+
9782d3
+	@Override
9782d3
+	public void updateBinaryStream(int columnIndex,
9782d3
+                            java.io.InputStream x) throws SQLException {
9782d3
+                throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+        }
9782d3
+
9782d3
+
9782d3
+	@Override
9782d3
+	public void updateAsciiStream(int columnIndex,
9782d3
+                           java.io.InputStream x) throws SQLException {
9782d3
+                throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+        }
9782d3
+
9782d3
+	@Override
9782d3
+	public void updateNCharacterStream(String columnLabel,
9782d3
+                             java.io.Reader reader) throws SQLException {
9782d3
+                throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+        }
9782d3
+
9782d3
+	@Override
9782d3
+	public void updateNCharacterStream(int columnIndex,
9782d3
+                             java.io.Reader x) throws SQLException {
9782d3
+                throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+        }
9782d3
+
9782d3
+
9782d3
+	@Override
9782d3
+	public void updateBlob(int columnIndex, InputStream inputStream, long length) throws SQLException {
9782d3
+                throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+        }
9782d3
+
9782d3
+	@Override
9782d3
+	public void updateBlob(String columnLabel, InputStream inputStream, long length) throws SQLException {
9782d3
+                throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+        }
9782d3
+
9782d3
+	@Override
9782d3
+	public void updateCharacterStream(String columnLabel, java.io.Reader reader, long length) throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+        }
9782d3
+
9782d3
+	@Override
9782d3
+	public void updateBinaryStream(String columnLabel, java.io.InputStream x, long length) throws SQLException {
9782d3
+                throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+        }
9782d3
+
9782d3
+	@Override
9782d3
+	public void updateAsciiStream(String columnLabel, java.io.InputStream x, long length) throws SQLException {
9782d3
+                throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+        }
9782d3
+
9782d3
+	@Override
9782d3
+	public void updateCharacterStream(int columnIndex,
9782d3
+                             java.io.Reader x, long length) throws SQLException {
9782d3
+                throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+        }
9782d3
+
9782d3
+	@Override
9782d3
+	public void updateBinaryStream(int columnIndex,
9782d3
+                            java.io.InputStream x, long length) throws SQLException {
9782d3
+                throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+        }
9782d3
+
9782d3
+
9782d3
+	@Override
9782d3
+	public void updateAsciiStream(int columnIndex,
9782d3
+                           java.io.InputStream x, long length) throws SQLException {
9782d3
+                throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+        }
9782d3
+
9782d3
+	@Override
9782d3
+	public void updateNCharacterStream(String columnLabel,
9782d3
+                             java.io.Reader reader, long length) throws SQLException {
9782d3
+                throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+        }
9782d3
+
9782d3
+	@Override
9782d3
+	public void updateNCharacterStream(int columnIndex,
9782d3
+                             java.io.Reader x, long length) throws SQLException {
9782d3
+                throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+        }
9782d3
+
9782d3
+	@Override
9782d3
+	public java.io.Reader getNCharacterStream(int columnIndex) throws SQLException {
9782d3
+                throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+        }
9782d3
+
9782d3
+	@Override
9782d3
+	public java.io.Reader getNCharacterStream(String columnIndex) throws SQLException {
9782d3
+                throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+        }
9782d3
+
9782d3
+	@Override
9782d3
+	public String getNString(int columnIndex) throws SQLException {
9782d3
+                throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+        }
9782d3
+
9782d3
+	@Override
9782d3
+	public String getNString(String columnIndex) throws SQLException {
9782d3
+                throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+        }
9782d3
+
9782d3
+	@Override
9782d3
+	public void updateSQLXML(int columnIndex, SQLXML xmlObject) throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+
9782d3
+	@Override
9782d3
+	public void updateSQLXML(String columnLabel, SQLXML xmlObject) throws SQLException {
9782d3
+		throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+	}
9782d3
+
9782d3
+	@Override
9782d3
+	public SQLXML getSQLXML(int columnIndex) throws SQLException {
9782d3
+                throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+        }
9782d3
+
9782d3
+	@Override
9782d3
+	public SQLXML getSQLXML(String columnLabel) throws SQLException {
9782d3
+                throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+        }
9782d3
+
9782d3
+	@Override
9782d3
+	public NClob getNClob(int columnIndex) throws SQLException {
9782d3
+                throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+        }
9782d3
+
9782d3
+	@Override
9782d3
+	public NClob getNClob(String columnLabel) throws SQLException {
9782d3
+                throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+        }
9782d3
+
9782d3
+	@Override
9782d3
+	public void updateNClob(String columnLabel,  NClob nClob) throws SQLException {
9782d3
+                throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+        }
9782d3
+
9782d3
+	@Override
9782d3
+	public void updateNString(String columnLabel, String nString) throws SQLException {
9782d3
+                throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+        }
9782d3
+
9782d3
+	@Override
9782d3
+	public void updateNString(int columnLabel, String nString) throws SQLException {
9782d3
+                throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+        }
9782d3
+
9782d3
+	@Override
9782d3
+	public boolean isClosed() throws SQLException {
9782d3
+                throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+        }
9782d3
+
9782d3
+	@Override
9782d3
+	public int getHoldability() throws SQLException {
9782d3
+                throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+        }
9782d3
+
9782d3
+	@Override
9782d3
+	public void updateRowId(int columnIndex, RowId x) throws SQLException {
9782d3
+                throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+        }
9782d3
+
9782d3
+	@Override
9782d3
+	public void updateRowId(String columnLabel, RowId x) throws SQLException {
9782d3
+                throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+        }
9782d3
+
9782d3
+	@Override
9782d3
+	public RowId getRowId(int columnIndex) throws SQLException {
9782d3
+                throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+        }
9782d3
+
9782d3
+	@Override
9782d3
+	public RowId getRowId(String columnIndex) throws SQLException {
9782d3
+                throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+        }
9782d3
+
9782d3
+	@Override
9782d3
+	public boolean isWrapperFor(java.lang.Class iface) throws java.sql.SQLException {
9782d3
+                throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+        }
9782d3
+
9782d3
+	@Override
9782d3
+	public <T> T unwrap(java.lang.Class<T> iface) throws java.sql.SQLException {
9782d3
+                throw new SQLFeatureNotSupportedException("Not supported");
9782d3
+        }
9782d3
 		};
9782d3
 	}
9782d3
 
9782d3
@@ -6896,4 +7172,5 @@ public class StatementRegressionTest ext
9782d3
 
9782d3
 	}
9782d3
 
9782d3
+
9782d3
 }