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

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