2122 lines
79 KiB
Diff
2122 lines
79 KiB
Diff
diff -Nru mysql-connector-java-5.1.36/src/com/mysql/fabric/jdbc/FabricMySQLConnectionProxy.java mysql-connector-java-5.1.36.jdbc4.1/src/com/mysql/fabric/jdbc/FabricMySQLConnectionProxy.java
|
|
--- mysql-connector-java-5.1.36/src/com/mysql/fabric/jdbc/FabricMySQLConnectionProxy.java 2015-06-19 21:26:19.000000000 +0200
|
|
+++ mysql-connector-java-5.1.36.jdbc4.1/src/com/mysql/fabric/jdbc/FabricMySQLConnectionProxy.java 2015-07-03 04:26:41.036544936 +0200
|
|
@@ -23,13 +23,20 @@
|
|
|
|
package com.mysql.fabric.jdbc;
|
|
|
|
+import java.sql.Blob;
|
|
+import java.sql.Clob;
|
|
import java.sql.CallableStatement;
|
|
import java.sql.DatabaseMetaData;
|
|
+import java.sql.NClob;
|
|
import java.sql.PreparedStatement;
|
|
+import java.sql.SQLClientInfoException;
|
|
import java.sql.SQLException;
|
|
+import java.sql.SQLFeatureNotSupportedException;
|
|
import java.sql.SQLWarning;
|
|
+import java.sql.SQLXML;
|
|
import java.sql.Savepoint;
|
|
import java.sql.Statement;
|
|
+import java.sql.Struct;
|
|
import java.util.ArrayList;
|
|
import java.util.Calendar;
|
|
import java.util.HashMap;
|
|
@@ -2999,4 +3006,43 @@
|
|
|
|
public void decachePreparedStatement(ServerPreparedStatement pstmt) throws SQLException {
|
|
}
|
|
+
|
|
+ @Override
|
|
+ public Struct createStruct(String typeName, Object[] attributes) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public java.sql.Array createArrayOf(String typeName, Object[] elements) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public void setClientInfo(String name, String value) throws SQLClientInfoException {
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public void setClientInfo(Properties properties) throws SQLClientInfoException {
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public SQLXML createSQLXML() throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public NClob createNClob() throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public Blob createBlob() throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public Clob createClob() throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
}
|
|
diff -Nru mysql-connector-java-5.1.36/src/com/mysql/fabric/jdbc/FabricMySQLDriver.java mysql-connector-java-5.1.36.jdbc4.1/src/com/mysql/fabric/jdbc/FabricMySQLDriver.java
|
|
--- mysql-connector-java-5.1.36/src/com/mysql/fabric/jdbc/FabricMySQLDriver.java 2015-06-19 21:26:19.000000000 +0200
|
|
+++ mysql-connector-java-5.1.36.jdbc4.1/src/com/mysql/fabric/jdbc/FabricMySQLDriver.java 2015-07-03 04:26:41.037544889 +0200
|
|
@@ -28,6 +28,7 @@
|
|
import java.sql.Driver;
|
|
import java.sql.DriverManager;
|
|
import java.sql.SQLException;
|
|
+import java.sql.SQLFeatureNotSupportedException;
|
|
import java.util.Properties;
|
|
import java.util.logging.Logger;
|
|
|
|
@@ -103,7 +104,7 @@
|
|
return super.parseURL(url.replaceAll("fabric:", ""), defaults);
|
|
}
|
|
|
|
- public Logger getParentLogger() throws SQLException {
|
|
- throw new SQLException("no logging");
|
|
+ public Logger getParentLogger() throws SQLFeatureNotSupportedException {
|
|
+ throw new SQLFeatureNotSupportedException("no logging");
|
|
}
|
|
}
|
|
diff -Nru mysql-connector-java-5.1.36/src/com/mysql/jdbc/CallableStatement.java mysql-connector-java-5.1.36.jdbc4.1/src/com/mysql/jdbc/CallableStatement.java
|
|
--- mysql-connector-java-5.1.36/src/com/mysql/jdbc/CallableStatement.java 2015-06-19 21:26:19.000000000 +0200
|
|
+++ mysql-connector-java-5.1.36.jdbc4.1/src/com/mysql/jdbc/CallableStatement.java 2015-07-03 04:26:41.039544793 +0200
|
|
@@ -33,10 +33,14 @@
|
|
import java.sql.Blob;
|
|
import java.sql.Clob;
|
|
import java.sql.Date;
|
|
+import java.sql.NClob;
|
|
import java.sql.ParameterMetaData;
|
|
import java.sql.Ref;
|
|
import java.sql.ResultSet;
|
|
+import java.sql.RowId;
|
|
import java.sql.SQLException;
|
|
+import java.sql.SQLFeatureNotSupportedException;
|
|
+import java.sql.SQLXML;
|
|
import java.sql.Time;
|
|
import java.sql.Timestamp;
|
|
import java.sql.Types;
|
|
@@ -410,10 +414,10 @@
|
|
* If no object found that implements the interface
|
|
* @since 1.6
|
|
*/
|
|
- public Object unwrap(Class<?> iface) throws java.sql.SQLException {
|
|
+ public <T> T unwrap(java.lang.Class<T> iface) throws java.sql.SQLException {
|
|
try {
|
|
// This works for classes that aren't actually wrapping anything
|
|
- return Util.cast(iface, this);
|
|
+ return iface.cast(this);
|
|
} catch (ClassCastException cce) {
|
|
throw SQLError.createSQLException("Unable to unwrap to " + iface.toString(), SQLError.SQL_STATE_ILLEGAL_ARGUMENT, getExceptionInterceptor());
|
|
}
|
|
@@ -2450,4 +2454,95 @@
|
|
}
|
|
}
|
|
}
|
|
+
|
|
+ @Override
|
|
+ public void setNClob(String parameterName, NClob value) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public void setNClob(String parameterName, Reader reader, long length) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public void setNClob(String parameterName, Reader reader) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public java.io.Reader getCharacterStream(int parameterIndex) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public java.io.Reader getCharacterStream(String parameterName) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public java.io.Reader getNCharacterStream(int parameterIndex) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public java.io.Reader getNCharacterStream(String parameterName) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public String getNString(int parameterIndex) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public String getNString(String parameterName) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public SQLXML getSQLXML(int parameterIndex) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public SQLXML getSQLXML(String parameterName) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public void setSQLXML(String parameterName, SQLXML xmlObject) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public NClob getNClob (int parameterName) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public NClob getNClob (String parameterName) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public void setNString(String parameterName, String value) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public void setRowId(String parameterName, RowId x) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public RowId getRowId(int parameterIndex) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public RowId getRowId(String parameterName) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
}
|
|
diff -Nru mysql-connector-java-5.1.36/src/com/mysql/jdbc/ConnectionImpl.java mysql-connector-java-5.1.36.jdbc4.1/src/com/mysql/jdbc/ConnectionImpl.java
|
|
--- mysql-connector-java-5.1.36/src/com/mysql/jdbc/ConnectionImpl.java 2015-06-19 21:26:19.000000000 +0200
|
|
+++ mysql-connector-java-5.1.36.jdbc4.1/src/com/mysql/jdbc/ConnectionImpl.java 2015-07-03 04:26:41.040544745 +0200
|
|
@@ -35,11 +35,16 @@
|
|
import java.nio.charset.CharsetEncoder;
|
|
import java.sql.Blob;
|
|
import java.sql.DatabaseMetaData;
|
|
+import java.sql.NClob;
|
|
import java.sql.ResultSet;
|
|
+import java.sql.Savepoint;
|
|
import java.sql.SQLException;
|
|
import java.sql.SQLPermission;
|
|
import java.sql.SQLWarning;
|
|
-import java.sql.Savepoint;
|
|
+import java.sql.SQLClientInfoException;
|
|
+import java.sql.SQLFeatureNotSupportedException;
|
|
+import java.sql.SQLXML;
|
|
+import java.sql.Struct;
|
|
import java.util.ArrayList;
|
|
import java.util.Calendar;
|
|
import java.util.Collections;
|
|
@@ -5595,4 +5600,70 @@
|
|
public void setProfilerEventHandlerInstance(ProfilerEventHandler h) {
|
|
this.eventSink = h;
|
|
}
|
|
+
|
|
+ @Override
|
|
+ public Struct createStruct(String typeName, Object[] attributes) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public java.sql.Array createArrayOf(String typeName, Object[] elements) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public String getClientInfo(String name) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public Properties getClientInfo() throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public void setClientInfo(String name, String value) throws SQLClientInfoException {
|
|
+ //throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public void setClientInfo(Properties properties) throws SQLClientInfoException {
|
|
+ //throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public boolean isValid(int timeout) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public SQLXML createSQLXML() throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public NClob createNClob() throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public Blob createBlob() throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public Clob createClob() throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public boolean isWrapperFor(java.lang.Class<?> iface) throws java.sql.SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public <T> T unwrap(java.lang.Class<T> iface) throws java.sql.SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
}
|
|
diff -Nru mysql-connector-java-5.1.36/src/com/mysql/jdbc/DatabaseMetaData.java mysql-connector-java-5.1.36.jdbc4.1/src/com/mysql/jdbc/DatabaseMetaData.java
|
|
--- mysql-connector-java-5.1.36/src/com/mysql/jdbc/DatabaseMetaData.java 2015-06-19 21:26:20.000000000 +0200
|
|
+++ mysql-connector-java-5.1.36.jdbc4.1/src/com/mysql/jdbc/DatabaseMetaData.java 2015-07-03 04:26:41.042544649 +0200
|
|
@@ -30,7 +30,9 @@
|
|
import java.lang.reflect.Constructor;
|
|
import java.sql.PreparedStatement;
|
|
import java.sql.ResultSet;
|
|
+import java.sql.RowIdLifetime;
|
|
import java.sql.SQLException;
|
|
+import java.sql.SQLFeatureNotSupportedException;
|
|
import java.sql.Statement;
|
|
import java.sql.Types;
|
|
import java.util.ArrayList;
|
|
@@ -7884,4 +7886,25 @@
|
|
public boolean generatedKeyAlwaysReturned() throws SQLException {
|
|
return true;
|
|
}
|
|
+
|
|
+ @Override
|
|
+ public boolean autoCommitFailureClosesAllResultSets() throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public RowIdLifetime getRowIdLifetime() throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public boolean isWrapperFor(java.lang.Class<?> iface) throws java.sql.SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public <T> T unwrap(java.lang.Class<T> iface) throws java.sql.SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
}
|
|
diff -Nru mysql-connector-java-5.1.36/src/com/mysql/jdbc/jdbc2/optional/CallableStatementWrapper.java mysql-connector-java-5.1.36.jdbc4.1/src/com/mysql/jdbc/jdbc2/optional/CallableStatementWrapper.java
|
|
--- mysql-connector-java-5.1.36/src/com/mysql/jdbc/jdbc2/optional/CallableStatementWrapper.java 2015-06-19 21:26:20.000000000 +0200
|
|
+++ mysql-connector-java-5.1.36.jdbc4.1/src/com/mysql/jdbc/jdbc2/optional/CallableStatementWrapper.java 2015-07-03 04:26:41.043544601 +0200
|
|
@@ -33,8 +33,12 @@
|
|
import java.sql.CallableStatement;
|
|
import java.sql.Clob;
|
|
import java.sql.Date;
|
|
+import java.sql.NClob;
|
|
import java.sql.Ref;
|
|
+import java.sql.RowId;
|
|
import java.sql.SQLException;
|
|
+import java.sql.SQLFeatureNotSupportedException;
|
|
+import java.sql.SQLXML;
|
|
import java.sql.Time;
|
|
import java.sql.Timestamp;
|
|
import java.util.Calendar;
|
|
@@ -2345,4 +2349,169 @@
|
|
// throw SQLError.notImplemented();
|
|
// }
|
|
|
|
+ @Override
|
|
+ public <T> T getObject(int parameterIndex, Class<T> type) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public <T> T getObject(String parameterName, Class<T> type) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public void setBlob(String parameterName, InputStream inputStream) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public void setClob(String parameterName, Reader reader) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public void setNCharacterStream(String parameterName, Reader value) throws SQLException{
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public void setCharacterStream(String parameterName, java.io.Reader reader) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public void setBinaryStream(String parameterName, java.io.InputStream x) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public void setAsciiStream(String parameterName, java.io.InputStream x) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public void setCharacterStream(String parameterName, java.io.Reader reader, long length) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public void setBinaryStream(String parameterName, java.io.InputStream x, long length) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public void setAsciiStream(String parameterName, java.io.InputStream x, long length) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public void setClob (String parameterName, Clob x) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public void setBlob (String parameterName, Blob x) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public java.io.Reader getCharacterStream(String parameterName) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public java.io.Reader getCharacterStream(int parameterIndex) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public java.io.Reader getNCharacterStream(String parameterName) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public java.io.Reader getNCharacterStream(int parameterIndex) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public String getNString(String parameterName) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public String getNString(int parameterIndex) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public SQLXML getSQLXML(String parameterName) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public SQLXML getSQLXML(int parameterIndex) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public void setSQLXML(String parameterName, SQLXML xmlObject) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public NClob getNClob (String parameterName) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public NClob getNClob (int parameterIndex) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public void setNClob(String parameterName, Reader reader, long length) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public void setBlob(String parameterName, InputStream inputStream, long length) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public void setClob(String parameterName, Reader reader, long length) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public void setNClob(String parameterName, NClob value) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public void setNCharacterStream(String parameterName, Reader value, long length) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public void setNString(String parameterName, String value) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public void setRowId(String parameterName, RowId x) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public RowId getRowId(String parameterName) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public RowId getRowId(int parameterIndex) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
}
|
|
diff -Nru mysql-connector-java-5.1.36/src/com/mysql/jdbc/jdbc2/optional/ConnectionWrapper.java mysql-connector-java-5.1.36.jdbc4.1/src/com/mysql/jdbc/jdbc2/optional/ConnectionWrapper.java
|
|
--- mysql-connector-java-5.1.36/src/com/mysql/jdbc/jdbc2/optional/ConnectionWrapper.java 2015-06-19 21:26:20.000000000 +0200
|
|
+++ mysql-connector-java-5.1.36.jdbc4.1/src/com/mysql/jdbc/jdbc2/optional/ConnectionWrapper.java 2015-07-03 04:26:41.044544553 +0200
|
|
@@ -24,9 +24,16 @@
|
|
package com.mysql.jdbc.jdbc2.optional;
|
|
|
|
import java.lang.reflect.Constructor;
|
|
-import java.sql.SQLException;
|
|
+import java.sql.Blob;
|
|
+import java.sql.Clob;
|
|
+import java.sql.NClob;
|
|
import java.sql.Savepoint;
|
|
+import java.sql.SQLException;
|
|
+import java.sql.SQLClientInfoException;
|
|
+import java.sql.SQLFeatureNotSupportedException;
|
|
+import java.sql.SQLXML;
|
|
import java.sql.Statement;
|
|
+import java.sql.Struct;
|
|
import java.util.Map;
|
|
import java.util.Properties;
|
|
import java.util.TimeZone;
|
|
@@ -2836,4 +2843,69 @@
|
|
public void setEnabledSSLCipherSuites(String cipherSuites) {
|
|
this.mc.setEnabledSSLCipherSuites(cipherSuites);
|
|
}
|
|
+
|
|
+ @Override
|
|
+ public Struct createStruct(String typeName, Object[] attributes) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public java.sql.Array createArrayOf(String typeName, Object[] elements) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public String getClientInfo(String name) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public Properties getClientInfo() throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+ @Override
|
|
+ public void setClientInfo(String name, String value) throws SQLClientInfoException {
|
|
+ //throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public void setClientInfo(Properties properties) throws SQLClientInfoException {
|
|
+ //throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public boolean isValid(int timeout) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public SQLXML createSQLXML() throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public NClob createNClob() throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public Blob createBlob() throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public Clob createClob() throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public boolean isWrapperFor(java.lang.Class<?> iface) throws java.sql.SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public <T> T unwrap(java.lang.Class<T> iface) throws java.sql.SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
}
|
|
diff -Nru mysql-connector-java-5.1.36/src/com/mysql/jdbc/jdbc2/optional/MysqlConnectionPoolDataSource.java mysql-connector-java-5.1.36.jdbc4.1/src/com/mysql/jdbc/jdbc2/optional/MysqlConnectionPoolDataSource.java
|
|
--- mysql-connector-java-5.1.36/src/com/mysql/jdbc/jdbc2/optional/MysqlConnectionPoolDataSource.java 2015-06-19 21:26:20.000000000 +0200
|
|
+++ mysql-connector-java-5.1.36.jdbc4.1/src/com/mysql/jdbc/jdbc2/optional/MysqlConnectionPoolDataSource.java 2015-07-03 04:26:41.044544553 +0200
|
|
@@ -25,6 +25,9 @@
|
|
|
|
import java.sql.Connection;
|
|
import java.sql.SQLException;
|
|
+import java.sql.SQLFeatureNotSupportedException;
|
|
+
|
|
+import java.util.logging.Logger;
|
|
|
|
import javax.sql.ConnectionPoolDataSource;
|
|
import javax.sql.PooledConnection;
|
|
@@ -69,4 +72,10 @@
|
|
|
|
return mysqlPooledConnection;
|
|
}
|
|
+
|
|
+ @Override
|
|
+ public Logger getParentLogger() throws SQLFeatureNotSupportedException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
}
|
|
diff -Nru mysql-connector-java-5.1.36/src/com/mysql/jdbc/jdbc2/optional/MysqlDataSource.java mysql-connector-java-5.1.36.jdbc4.1/src/com/mysql/jdbc/jdbc2/optional/MysqlDataSource.java
|
|
--- mysql-connector-java-5.1.36/src/com/mysql/jdbc/jdbc2/optional/MysqlDataSource.java 2015-06-19 21:26:20.000000000 +0200
|
|
+++ mysql-connector-java-5.1.36.jdbc4.1/src/com/mysql/jdbc/jdbc2/optional/MysqlDataSource.java 2015-07-03 04:26:41.044544553 +0200
|
|
@@ -26,8 +26,10 @@
|
|
import java.io.PrintWriter;
|
|
import java.io.Serializable;
|
|
import java.sql.SQLException;
|
|
+import java.sql.SQLFeatureNotSupportedException;
|
|
import java.util.Iterator;
|
|
import java.util.Properties;
|
|
+import java.util.logging.Logger;
|
|
|
|
import javax.naming.NamingException;
|
|
import javax.naming.Reference;
|
|
@@ -429,4 +431,20 @@
|
|
// public <T> T unwrap(Class<T> iface) throws SQLException {
|
|
// throw SQLError.notImplemented();
|
|
// }
|
|
+
|
|
+ @Override
|
|
+ public Logger getParentLogger() throws SQLFeatureNotSupportedException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public <T> T unwrap(java.lang.Class<T> iface) throws java.sql.SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public boolean isWrapperFor(java.lang.Class<?> iface) throws java.sql.SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
}
|
|
diff -Nru mysql-connector-java-5.1.36/src/com/mysql/jdbc/jdbc2/optional/MysqlPooledConnection.java mysql-connector-java-5.1.36.jdbc4.1/src/com/mysql/jdbc/jdbc2/optional/MysqlPooledConnection.java
|
|
--- mysql-connector-java-5.1.36/src/com/mysql/jdbc/jdbc2/optional/MysqlPooledConnection.java 2015-06-19 21:26:20.000000000 +0200
|
|
+++ mysql-connector-java-5.1.36.jdbc4.1/src/com/mysql/jdbc/jdbc2/optional/MysqlPooledConnection.java 2015-07-03 04:26:41.044544553 +0200
|
|
@@ -33,6 +33,8 @@
|
|
import javax.sql.ConnectionEvent;
|
|
import javax.sql.ConnectionEventListener;
|
|
import javax.sql.PooledConnection;
|
|
+import java.sql.SQLFeatureNotSupportedException;
|
|
+import javax.sql.StatementEventListener;
|
|
|
|
import com.mysql.jdbc.ExceptionInterceptor;
|
|
import com.mysql.jdbc.SQLError;
|
|
@@ -230,4 +232,11 @@
|
|
protected ExceptionInterceptor getExceptionInterceptor() {
|
|
return this.exceptionInterceptor;
|
|
}
|
|
+
|
|
+ @Override
|
|
+ public void addStatementEventListener(StatementEventListener listener) {}
|
|
+
|
|
+ @Override
|
|
+ public void removeStatementEventListener(StatementEventListener listener) {}
|
|
+
|
|
}
|
|
\ Manca newline alla fine del file
|
|
diff -Nru mysql-connector-java-5.1.36/src/com/mysql/jdbc/jdbc2/optional/MysqlXAConnection.java mysql-connector-java-5.1.36.jdbc4.1/src/com/mysql/jdbc/jdbc2/optional/MysqlXAConnection.java
|
|
--- mysql-connector-java-5.1.36/src/com/mysql/jdbc/jdbc2/optional/MysqlXAConnection.java 2015-06-19 21:26:20.000000000 +0200
|
|
+++ mysql-connector-java-5.1.36.jdbc4.1/src/com/mysql/jdbc/jdbc2/optional/MysqlXAConnection.java 2015-07-03 04:26:41.045544505 +0200
|
|
@@ -27,6 +27,7 @@
|
|
import java.sql.Connection;
|
|
import java.sql.ResultSet;
|
|
import java.sql.SQLException;
|
|
+import java.sql.SQLFeatureNotSupportedException;
|
|
import java.sql.Statement;
|
|
import java.util.ArrayList;
|
|
import java.util.Collections;
|
|
@@ -34,6 +35,7 @@
|
|
import java.util.List;
|
|
import java.util.Map;
|
|
|
|
+import javax.sql.StatementEventListener;
|
|
import javax.sql.XAConnection;
|
|
import javax.transaction.xa.XAException;
|
|
import javax.transaction.xa.XAResource;
|
|
@@ -612,4 +614,11 @@
|
|
|
|
return connToWrap;
|
|
}
|
|
+
|
|
+ @Override
|
|
+ public void addStatementEventListener(StatementEventListener listener) {}
|
|
+
|
|
+ @Override
|
|
+ public void removeStatementEventListener(StatementEventListener listener) {}
|
|
+
|
|
}
|
|
diff -Nru mysql-connector-java-5.1.36/src/com/mysql/jdbc/jdbc2/optional/MysqlXADataSource.java mysql-connector-java-5.1.36.jdbc4.1/src/com/mysql/jdbc/jdbc2/optional/MysqlXADataSource.java
|
|
--- mysql-connector-java-5.1.36/src/com/mysql/jdbc/jdbc2/optional/MysqlXADataSource.java 2015-06-19 21:26:20.000000000 +0200
|
|
+++ mysql-connector-java-5.1.36.jdbc4.1/src/com/mysql/jdbc/jdbc2/optional/MysqlXADataSource.java 2015-07-03 04:26:41.045544505 +0200
|
|
@@ -25,6 +25,9 @@
|
|
|
|
import java.sql.Connection;
|
|
import java.sql.SQLException;
|
|
+import java.sql.SQLFeatureNotSupportedException;
|
|
+
|
|
+import java.util.logging.Logger;
|
|
|
|
import javax.sql.XAConnection;
|
|
|
|
@@ -63,4 +66,10 @@
|
|
|
|
return MysqlXAConnection.getInstance((com.mysql.jdbc.Connection) conn, getLogXaCommands());
|
|
}
|
|
+
|
|
+ @Override
|
|
+ public Logger getParentLogger() throws SQLFeatureNotSupportedException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
}
|
|
\ Manca newline alla fine del file
|
|
diff -Nru mysql-connector-java-5.1.36/src/com/mysql/jdbc/jdbc2/optional/PreparedStatementWrapper.java mysql-connector-java-5.1.36.jdbc4.1/src/com/mysql/jdbc/jdbc2/optional/PreparedStatementWrapper.java
|
|
--- mysql-connector-java-5.1.36/src/com/mysql/jdbc/jdbc2/optional/PreparedStatementWrapper.java 2015-06-19 21:26:20.000000000 +0200
|
|
+++ mysql-connector-java-5.1.36.jdbc4.1/src/com/mysql/jdbc/jdbc2/optional/PreparedStatementWrapper.java 2015-07-03 04:26:41.045544505 +0200
|
|
@@ -32,12 +32,16 @@
|
|
import java.sql.Blob;
|
|
import java.sql.Clob;
|
|
import java.sql.Date;
|
|
+import java.sql.NClob;
|
|
import java.sql.ParameterMetaData;
|
|
import java.sql.PreparedStatement;
|
|
import java.sql.Ref;
|
|
import java.sql.ResultSet;
|
|
import java.sql.ResultSetMetaData;
|
|
+import java.sql.RowId;
|
|
import java.sql.SQLException;
|
|
+import java.sql.SQLFeatureNotSupportedException;
|
|
+import java.sql.SQLXML;
|
|
import java.sql.Time;
|
|
import java.sql.Timestamp;
|
|
import java.util.Calendar;
|
|
@@ -1091,4 +1095,107 @@
|
|
// public Object unwrap(Class arg0) throws SQLException {
|
|
// throw SQLError.notImplemented();
|
|
// }
|
|
+
|
|
+
|
|
+ public void setNClob(String parameterName, NClob value) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ public void setNClob(String parameterName, Reader reader, long length) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ public void setNClob(String parameterName, Reader reader) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public void setNClob(int parameterName, NClob value) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public void setNClob(int parameterName, Reader reader, long length) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public void setNClob(int parameterName, Reader reader) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public void setBlob(int parameterIndex, InputStream inputStream) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public void setClob(int parameterIndex, Reader reader) throws SQLException{
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public void setNCharacterStream(int parameterIndex, Reader value) throws SQLException{
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public void setCharacterStream(int parameterIndex, java.io.Reader reader) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public void setBinaryStream(int parameterIndex, java.io.InputStream x) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public void setAsciiStream(int parameterIndex, java.io.InputStream x) throws SQLException{
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public void setCharacterStream(int parameterIndex, java.io.Reader reader, long length) throws SQLException{
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public void setBinaryStream(int parameterIndex, java.io.InputStream x, long length) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public void setAsciiStream(int parameterIndex, java.io.InputStream x, long length) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public void setSQLXML(int parameterIndex, SQLXML xmlObject) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public void setBlob(int parameterIndex, InputStream inputStream, long length) throws SQLException{
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public void setClob(int parameterIndex, Reader reader, long length) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public void setNCharacterStream(int parameterIndex, Reader value, long length) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public void setNString(int parameterIndex, String value) throws SQLException{
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public void setRowId(int parameterIndex, RowId x) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
}
|
|
diff -Nru mysql-connector-java-5.1.36/src/com/mysql/jdbc/jdbc2/optional/StatementWrapper.java mysql-connector-java-5.1.36.jdbc4.1/src/com/mysql/jdbc/jdbc2/optional/StatementWrapper.java
|
|
--- mysql-connector-java-5.1.36/src/com/mysql/jdbc/jdbc2/optional/StatementWrapper.java 2015-06-19 21:26:20.000000000 +0200
|
|
+++ mysql-connector-java-5.1.36.jdbc4.1/src/com/mysql/jdbc/jdbc2/optional/StatementWrapper.java 2015-07-03 04:26:41.046544457 +0200
|
|
@@ -27,6 +27,7 @@
|
|
import java.sql.Connection;
|
|
import java.sql.ResultSet;
|
|
import java.sql.SQLException;
|
|
+import java.sql.SQLFeatureNotSupportedException;
|
|
import java.sql.SQLWarning;
|
|
import java.sql.Statement;
|
|
|
|
@@ -767,4 +768,40 @@
|
|
checkAndFireConnectionError(sqlEx);
|
|
}
|
|
}
|
|
+
|
|
+ @Override
|
|
+ public boolean isCloseOnCompletion() throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public void closeOnCompletion() throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public boolean isPoolable() throws SQLException{
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public void setPoolable(boolean poolable) throws SQLException{
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public boolean isClosed() throws SQLException{
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public boolean isWrapperFor(java.lang.Class<?> iface) throws java.sql.SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public <T> T unwrap(java.lang.Class<T> iface) throws java.sql.SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
}
|
|
diff -Nru mysql-connector-java-5.1.36/src/com/mysql/jdbc/jdbc2/optional/SuspendableXAConnection.java mysql-connector-java-5.1.36.jdbc4.1/src/com/mysql/jdbc/jdbc2/optional/SuspendableXAConnection.java
|
|
--- mysql-connector-java-5.1.36/src/com/mysql/jdbc/jdbc2/optional/SuspendableXAConnection.java 2015-06-19 21:26:20.000000000 +0200
|
|
+++ mysql-connector-java-5.1.36.jdbc4.1/src/com/mysql/jdbc/jdbc2/optional/SuspendableXAConnection.java 2015-07-03 04:26:41.046544457 +0200
|
|
@@ -25,9 +25,11 @@
|
|
|
|
import java.lang.reflect.Constructor;
|
|
import java.sql.SQLException;
|
|
+import java.sql.SQLFeatureNotSupportedException;
|
|
import java.util.HashMap;
|
|
import java.util.Map;
|
|
|
|
+import javax.sql.StatementEventListener;
|
|
import javax.sql.XAConnection;
|
|
import javax.transaction.xa.XAException;
|
|
import javax.transaction.xa.XAResource;
|
|
@@ -199,4 +201,11 @@
|
|
this.currentXAConnection.close();
|
|
}
|
|
}
|
|
+
|
|
+ @Override
|
|
+ public void addStatementEventListener(StatementEventListener listener) {}
|
|
+
|
|
+ @Override
|
|
+ public void removeStatementEventListener(StatementEventListener listener) {}
|
|
+
|
|
}
|
|
diff -Nru mysql-connector-java-5.1.36/src/com/mysql/jdbc/JDBC4Connection.java mysql-connector-java-5.1.36.jdbc4.1/src/com/mysql/jdbc/JDBC4Connection.java
|
|
--- mysql-connector-java-5.1.36/src/com/mysql/jdbc/JDBC4Connection.java 2015-06-19 21:26:20.000000000 +0200
|
|
+++ mysql-connector-java-5.1.36.jdbc4.1/src/com/mysql/jdbc/JDBC4Connection.java 2015-07-03 04:26:41.046544457 +0200
|
|
@@ -27,11 +27,13 @@
|
|
import java.sql.Clob;
|
|
import java.sql.SQLClientInfoException;
|
|
import java.sql.SQLException;
|
|
+import java.sql.SQLFeatureNotSupportedException;
|
|
import java.sql.SQLXML;
|
|
import java.sql.NClob;
|
|
import java.sql.Struct;
|
|
import java.util.Properties;
|
|
import java.util.TimerTask;
|
|
+import java.util.concurrent.Executor;
|
|
|
|
import com.mysql.jdbc.ConnectionImpl;
|
|
import com.mysql.jdbc.Messages;
|
|
@@ -197,7 +199,8 @@
|
|
/**
|
|
* @see java.sql.Connection#createClob()
|
|
*/
|
|
- public Clob createClob() {
|
|
+ @Override
|
|
+ public com.mysql.jdbc.Clob createClob() throws SQLException {
|
|
return new com.mysql.jdbc.Clob(getExceptionInterceptor());
|
|
}
|
|
|
|
@@ -233,4 +236,25 @@
|
|
return this.infoProvider;
|
|
}
|
|
}
|
|
+
|
|
+ public int getNetworkTimeout() throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ public void setNetworkTimeout(Executor executor, int millis) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ public void abort(Executor executor) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ public String getSchema() throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ public void setSchema(String schema) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
}
|
|
diff -Nru mysql-connector-java-5.1.36/src/com/mysql/jdbc/JDBC4LoadBalancedMySQLConnection.java mysql-connector-java-5.1.36.jdbc4.1/src/com/mysql/jdbc/JDBC4LoadBalancedMySQLConnection.java
|
|
--- mysql-connector-java-5.1.36/src/com/mysql/jdbc/JDBC4LoadBalancedMySQLConnection.java 2015-06-19 21:26:20.000000000 +0200
|
|
+++ mysql-connector-java-5.1.36.jdbc4.1/src/com/mysql/jdbc/JDBC4LoadBalancedMySQLConnection.java 2015-07-03 04:26:41.047544409 +0200
|
|
@@ -26,12 +26,14 @@
|
|
import java.sql.Blob;
|
|
import java.sql.Clob;
|
|
import java.sql.SQLClientInfoException;
|
|
+import java.sql.SQLFeatureNotSupportedException;
|
|
import java.sql.SQLException;
|
|
import java.sql.SQLXML;
|
|
import java.sql.NClob;
|
|
import java.sql.Struct;
|
|
import java.util.Properties;
|
|
import java.util.TimerTask;
|
|
+import java.util.concurrent.Executor;
|
|
|
|
import com.mysql.jdbc.ConnectionImpl;
|
|
import com.mysql.jdbc.Messages;
|
|
@@ -100,21 +102,24 @@
|
|
/**
|
|
* @see java.sql.Connection#createBlob()
|
|
*/
|
|
- public Blob createBlob() {
|
|
+ @Override
|
|
+ public Blob createBlob() throws SQLException {
|
|
return this.getJDBC4Connection().createBlob();
|
|
}
|
|
|
|
/**
|
|
* @see java.sql.Connection#createClob()
|
|
*/
|
|
- public Clob createClob() {
|
|
+ @Override
|
|
+ public Clob createClob() throws SQLException {
|
|
return this.getJDBC4Connection().createClob();
|
|
}
|
|
|
|
/**
|
|
* @see java.sql.Connection#createNClob()
|
|
*/
|
|
- public NClob createNClob() {
|
|
+ @Override
|
|
+ public NClob createNClob() throws SQLException {
|
|
return this.getJDBC4Connection().createNClob();
|
|
}
|
|
|
|
@@ -123,4 +128,25 @@
|
|
return this.getJDBC4Connection().getClientInfoProviderImpl();
|
|
}
|
|
}
|
|
+
|
|
+ public int getNetworkTimeout() throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ public void setNetworkTimeout(Executor executor, int millis) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ public void abort(Executor executor) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ public String getSchema() throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ public void setSchema(String schema) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
}
|
|
diff -Nru mysql-connector-java-5.1.36/src/com/mysql/jdbc/JDBC4MultiHostMySQLConnection.java mysql-connector-java-5.1.36.jdbc4.1/src/com/mysql/jdbc/JDBC4MultiHostMySQLConnection.java
|
|
--- mysql-connector-java-5.1.36/src/com/mysql/jdbc/JDBC4MultiHostMySQLConnection.java 2015-06-19 21:26:20.000000000 +0200
|
|
+++ mysql-connector-java-5.1.36.jdbc4.1/src/com/mysql/jdbc/JDBC4MultiHostMySQLConnection.java 2015-07-03 04:26:41.047544409 +0200
|
|
@@ -109,7 +109,7 @@
|
|
/**
|
|
* @see java.sql.Connection#createClob()
|
|
*/
|
|
- public Clob createClob() {
|
|
+ public Clob createClob() throws SQLException {
|
|
return this.getJDBC4Connection().createClob();
|
|
}
|
|
|
|
diff -Nru mysql-connector-java-5.1.36/src/com/mysql/jdbc/JDBC4MySQLConnection.java mysql-connector-java-5.1.36.jdbc4.1/src/com/mysql/jdbc/JDBC4MySQLConnection.java
|
|
--- mysql-connector-java-5.1.36/src/com/mysql/jdbc/JDBC4MySQLConnection.java 2015-06-19 21:26:20.000000000 +0200
|
|
+++ mysql-connector-java-5.1.36.jdbc4.1/src/com/mysql/jdbc/JDBC4MySQLConnection.java 2015-07-03 04:26:41.047544409 +0200
|
|
@@ -59,10 +59,13 @@
|
|
|
|
public <T> T unwrap(java.lang.Class<T> iface) throws java.sql.SQLException;
|
|
|
|
- public Blob createBlob();
|
|
+ @Override
|
|
+ public Blob createBlob() throws SQLException;
|
|
|
|
- public Clob createClob();
|
|
+ @Override
|
|
+ public Clob createClob() throws SQLException;
|
|
|
|
- public NClob createNClob();
|
|
+ @Override
|
|
+ public NClob createNClob() throws SQLException;
|
|
|
|
}
|
|
diff -Nru mysql-connector-java-5.1.36/src/com/mysql/jdbc/LoadBalancedMySQLConnection.java mysql-connector-java-5.1.36.jdbc4.1/src/com/mysql/jdbc/LoadBalancedMySQLConnection.java
|
|
--- mysql-connector-java-5.1.36/src/com/mysql/jdbc/LoadBalancedMySQLConnection.java 2015-06-19 21:26:20.000000000 +0200
|
|
+++ mysql-connector-java-5.1.36.jdbc4.1/src/com/mysql/jdbc/LoadBalancedMySQLConnection.java 2015-07-03 04:26:41.047544409 +0200
|
|
@@ -23,7 +23,16 @@
|
|
|
|
package com.mysql.jdbc;
|
|
|
|
+import java.sql.Array;
|
|
+import java.sql.Blob;
|
|
+import java.sql.Clob;
|
|
+import java.sql.NClob;
|
|
+import java.sql.SQLClientInfoException;
|
|
import java.sql.SQLException;
|
|
+import java.sql.SQLFeatureNotSupportedException;
|
|
+import java.sql.SQLXML;
|
|
+import java.sql.Struct;
|
|
+import java.util.Properties;
|
|
|
|
public class LoadBalancedMySQLConnection extends MultiHostMySQLConnection implements LoadBalancedConnection {
|
|
|
|
@@ -60,4 +69,68 @@
|
|
public void removeHostWhenNotInUse(String host) throws SQLException {
|
|
getProxy().removeHostWhenNotInUse(host);
|
|
}
|
|
+
|
|
+ @Override
|
|
+ public Struct createStruct(String typeName, Object[] attributes) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public Array createArrayOf(String typeName, Object[] elements) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public String getClientInfo(String name) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public Properties getClientInfo() throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public void setClientInfo(Properties properties) throws SQLClientInfoException {
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public void setClientInfo(String name, String value) throws SQLClientInfoException {
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public boolean isValid(int timeout) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public SQLXML createSQLXML() throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public NClob createNClob() throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public Blob createBlob() throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public Clob createClob() throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public boolean isWrapperFor(java.lang.Class<?> iface) throws java.sql.SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public <T> T unwrap(java.lang.Class<T> iface) throws java.sql.SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
}
|
|
diff -Nru mysql-connector-java-5.1.36/src/com/mysql/jdbc/MultiHostMySQLConnection.java mysql-connector-java-5.1.36.jdbc4.1/src/com/mysql/jdbc/MultiHostMySQLConnection.java
|
|
--- mysql-connector-java-5.1.36/src/com/mysql/jdbc/MultiHostMySQLConnection.java 2015-06-19 21:26:20.000000000 +0200
|
|
+++ mysql-connector-java-5.1.36.jdbc4.1/src/com/mysql/jdbc/MultiHostMySQLConnection.java 2015-07-03 04:26:41.048544361 +0200
|
|
@@ -23,13 +23,21 @@
|
|
|
|
package com.mysql.jdbc;
|
|
|
|
+import java.sql.Array;
|
|
+import java.sql.Blob;
|
|
import java.sql.CallableStatement;
|
|
+import java.sql.Clob;
|
|
import java.sql.DatabaseMetaData;
|
|
import java.sql.PreparedStatement;
|
|
+import java.sql.NClob;
|
|
+import java.sql.SQLClientInfoException;
|
|
import java.sql.SQLException;
|
|
+import java.sql.SQLFeatureNotSupportedException;
|
|
import java.sql.SQLWarning;
|
|
+import java.sql.SQLXML;
|
|
import java.sql.Savepoint;
|
|
import java.sql.Statement;
|
|
+import java.sql.Struct;
|
|
import java.util.Calendar;
|
|
import java.util.List;
|
|
import java.util.Map;
|
|
@@ -2411,4 +2419,67 @@
|
|
public void setEnabledSSLCipherSuites(String cipherSuites) {
|
|
getActiveMySQLConnection().setEnabledSSLCipherSuites(cipherSuites);
|
|
}
|
|
+
|
|
+ @Override
|
|
+ public Struct createStruct(String typeName, Object[] attributes) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public Array createArrayOf(String typeName, Object[] elements) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public String getClientInfo(String name) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public Properties getClientInfo() throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public void setClientInfo(Properties properties) throws SQLClientInfoException {
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public void setClientInfo(String name, String value) throws SQLClientInfoException {
|
|
+ }
|
|
+ @Override
|
|
+ public boolean isValid(int timeout) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public SQLXML createSQLXML() throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public NClob createNClob() throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public Blob createBlob() throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public Clob createClob() throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public boolean isWrapperFor(java.lang.Class<?> iface) throws java.sql.SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public <T> T unwrap(java.lang.Class<T> iface) throws java.sql.SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
}
|
|
diff -Nru mysql-connector-java-5.1.36/src/com/mysql/jdbc/MysqlParameterMetadata.java mysql-connector-java-5.1.36.jdbc4.1/src/com/mysql/jdbc/MysqlParameterMetadata.java
|
|
--- mysql-connector-java-5.1.36/src/com/mysql/jdbc/MysqlParameterMetadata.java 2015-06-19 21:26:20.000000000 +0200
|
|
+++ mysql-connector-java-5.1.36.jdbc4.1/src/com/mysql/jdbc/MysqlParameterMetadata.java 2015-07-03 04:26:41.048544361 +0200
|
|
@@ -25,6 +25,7 @@
|
|
|
|
import java.sql.ParameterMetaData;
|
|
import java.sql.SQLException;
|
|
+import java.sql.SQLFeatureNotSupportedException;
|
|
import java.sql.Types;
|
|
|
|
public class MysqlParameterMetadata implements ParameterMetaData {
|
|
@@ -199,10 +200,10 @@
|
|
* If no object found that implements the interface
|
|
* @since 1.6
|
|
*/
|
|
- public Object unwrap(Class<?> iface) throws java.sql.SQLException {
|
|
+ public <T> T unwrap(java.lang.Class<T> iface) throws java.sql.SQLException {
|
|
try {
|
|
// This works for classes that aren't actually wrapping anything
|
|
- return Util.cast(iface, this);
|
|
+ return iface.cast(this);
|
|
} catch (ClassCastException cce) {
|
|
throw SQLError.createSQLException("Unable to unwrap to " + iface.toString(), SQLError.SQL_STATE_ILLEGAL_ARGUMENT, this.exceptionInterceptor);
|
|
}
|
|
diff -Nru mysql-connector-java-5.1.36/src/com/mysql/jdbc/NonRegisteringDriver.java mysql-connector-java-5.1.36.jdbc4.1/src/com/mysql/jdbc/NonRegisteringDriver.java
|
|
--- mysql-connector-java-5.1.36/src/com/mysql/jdbc/NonRegisteringDriver.java 2015-06-19 21:26:20.000000000 +0200
|
|
+++ mysql-connector-java-5.1.36.jdbc4.1/src/com/mysql/jdbc/NonRegisteringDriver.java 2015-07-03 04:26:41.049544313 +0200
|
|
@@ -31,6 +31,7 @@
|
|
import java.net.URLDecoder;
|
|
import java.sql.DriverPropertyInfo;
|
|
import java.sql.SQLException;
|
|
+import java.sql.SQLFeatureNotSupportedException;
|
|
import java.util.ArrayList;
|
|
import java.util.Iterator;
|
|
import java.util.List;
|
|
@@ -38,6 +39,7 @@
|
|
import java.util.Properties;
|
|
import java.util.StringTokenizer;
|
|
import java.util.concurrent.ConcurrentHashMap;
|
|
+import java.util.logging.Logger;
|
|
|
|
/**
|
|
* The Java SQL framework allows for multiple database drivers. Each driver should supply a class that implements the Driver interface
|
|
@@ -904,4 +906,10 @@
|
|
}
|
|
}
|
|
}
|
|
+
|
|
+ @Override
|
|
+ public Logger getParentLogger() throws SQLFeatureNotSupportedException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
}
|
|
diff -Nru mysql-connector-java-5.1.36/src/com/mysql/jdbc/PreparedStatement.java mysql-connector-java-5.1.36.jdbc4.1/src/com/mysql/jdbc/PreparedStatement.java
|
|
--- mysql-connector-java-5.1.36/src/com/mysql/jdbc/PreparedStatement.java 2015-06-19 21:26:20.000000000 +0200
|
|
+++ mysql-connector-java-5.1.36.jdbc4.1/src/com/mysql/jdbc/PreparedStatement.java 2015-07-03 04:26:41.050544266 +0200
|
|
@@ -43,9 +43,13 @@
|
|
import java.sql.Clob;
|
|
import java.sql.DatabaseMetaData;
|
|
import java.sql.Date;
|
|
+import java.sql.NClob;
|
|
import java.sql.ParameterMetaData;
|
|
import java.sql.Ref;
|
|
+import java.sql.RowId;
|
|
import java.sql.SQLException;
|
|
+import java.sql.SQLFeatureNotSupportedException;
|
|
+import java.sql.SQLXML;
|
|
import java.sql.Time;
|
|
import java.sql.Timestamp;
|
|
import java.sql.Types;
|
|
@@ -5134,4 +5138,20 @@
|
|
return StringUtils.startsWithIgnoreCaseAndWs(sql, "INSERT", statementStartPos)
|
|
&& StringUtils.indexOfIgnoreCase(statementStartPos, sql, "SELECT", "\"'`", "\"'`", StringUtils.SEARCH_MODE__MRK_COM_WS) == -1 && rewritableOdku;
|
|
}
|
|
+
|
|
+ @Override
|
|
+ public void setSQLXML(int parameterIndex, SQLXML xmlObject) throws SQLException{
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public void setNClob(int parameterIndex, NClob value) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public void setRowId(int parameterIndex, RowId x) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
}
|
|
diff -Nru mysql-connector-java-5.1.36/src/com/mysql/jdbc/ReplicationConnection.java mysql-connector-java-5.1.36.jdbc4.1/src/com/mysql/jdbc/ReplicationConnection.java
|
|
--- mysql-connector-java-5.1.36/src/com/mysql/jdbc/ReplicationConnection.java 2015-06-19 21:26:20.000000000 +0200
|
|
+++ mysql-connector-java-5.1.36.jdbc4.1/src/com/mysql/jdbc/ReplicationConnection.java 2015-07-03 04:26:41.051544218 +0200
|
|
@@ -23,13 +23,19 @@
|
|
|
|
package com.mysql.jdbc;
|
|
|
|
+import java.sql.Blob;
|
|
import java.sql.CallableStatement;
|
|
import java.sql.DatabaseMetaData;
|
|
+import java.sql.NClob;
|
|
import java.sql.PreparedStatement;
|
|
+import java.sql.Savepoint;
|
|
+import java.sql.SQLClientInfoException;
|
|
import java.sql.SQLException;
|
|
+import java.sql.SQLFeatureNotSupportedException;
|
|
import java.sql.SQLWarning;
|
|
-import java.sql.Savepoint;
|
|
+import java.sql.SQLXML;
|
|
import java.sql.Statement;
|
|
+import java.sql.Struct;
|
|
import java.util.ArrayList;
|
|
import java.util.List;
|
|
import java.util.Map;
|
|
@@ -3013,4 +3019,68 @@
|
|
public void setEnabledSSLCipherSuites(String cipherSuites) {
|
|
getCurrentConnection().setEnabledSSLCipherSuites(cipherSuites);
|
|
}
|
|
+
|
|
+ @Override
|
|
+ public Struct createStruct(String typeName, Object[] attributes) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public java.sql.Array createArrayOf(String typeName, Object[] elements) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public String getClientInfo(String name) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public Properties getClientInfo() throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public void setClientInfo(String name, String value) throws SQLClientInfoException {
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public void setClientInfo(Properties properties) throws SQLClientInfoException {
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public boolean isValid(int timeout) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public SQLXML createSQLXML() throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public NClob createNClob() throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public Blob createBlob() throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public Clob createClob() throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public boolean isWrapperFor(java.lang.Class<?> iface) throws java.sql.SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public <T> T unwrap(java.lang.Class<T> iface) throws java.sql.SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
}
|
|
diff -Nru mysql-connector-java-5.1.36/src/com/mysql/jdbc/ResultSetImpl.java mysql-connector-java-5.1.36.jdbc4.1/src/com/mysql/jdbc/ResultSetImpl.java
|
|
--- mysql-connector-java-5.1.36/src/com/mysql/jdbc/ResultSetImpl.java 2015-06-19 21:26:20.000000000 +0200
|
|
+++ mysql-connector-java-5.1.36.jdbc4.1/src/com/mysql/jdbc/ResultSetImpl.java 2015-07-03 04:26:41.052544170 +0200
|
|
@@ -27,6 +27,7 @@
|
|
import java.io.IOException;
|
|
import java.io.InputStream;
|
|
import java.io.ObjectInputStream;
|
|
+import java.io.Reader;
|
|
import java.io.StringReader;
|
|
import java.io.UnsupportedEncodingException;
|
|
import java.lang.reflect.Constructor;
|
|
@@ -36,9 +37,13 @@
|
|
import java.net.URL;
|
|
import java.sql.Array;
|
|
import java.sql.Date;
|
|
+import java.sql.NClob;
|
|
import java.sql.Ref;
|
|
+import java.sql.RowId;
|
|
import java.sql.SQLException;
|
|
+import java.sql.SQLFeatureNotSupportedException;
|
|
import java.sql.SQLWarning;
|
|
+import java.sql.SQLXML;
|
|
import java.sql.Time;
|
|
import java.sql.Timestamp;
|
|
import java.sql.Types;
|
|
@@ -7929,4 +7934,250 @@
|
|
protected ExceptionInterceptor getExceptionInterceptor() {
|
|
return this.exceptionInterceptor;
|
|
}
|
|
+
|
|
+ @Override
|
|
+ public void updateNClob(int columnIndex, NClob nClob) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public void updateNClob(String columnLabel, Reader reader) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public void updateNClob(int columnIndex, Reader reader, long length) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public void updateNClob(String columnLabel, Reader reader, long length) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public void updateNClob(int columnIndex, Reader reader) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public void updateClob(int columnIndex, Reader reader) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public void updateClob(String columnLabel, Reader reader) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public void updateClob(int columnIndex, Reader reader, long length) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public void updateClob(String columnLabel, Reader reader, long length) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public void updateBlob(int columnIndex, InputStream inputStream) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public void updateBlob(String columnLabel, InputStream inputStream) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public void updateCharacterStream(String columnLabel, java.io.Reader reader) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public void updateBinaryStream(String columnLabel, java.io.InputStream x) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public void updateAsciiStream(String columnLabel, java.io.InputStream x) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public void updateCharacterStream(int columnIndex, java.io.Reader x) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public void updateBinaryStream(int columnIndex, java.io.InputStream x) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public void updateAsciiStream(int columnIndex, java.io.InputStream x) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public void updateNCharacterStream(String columnLabel, java.io.Reader reader) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public void updateNCharacterStream(int columnIndex, java.io.Reader x) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public void updateBlob(int columnIndex, InputStream inputStream, long length) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public void updateBlob(String columnLabel, InputStream inputStream, long length) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public void updateCharacterStream(String columnLabel, java.io.Reader reader, long length) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public void updateBinaryStream(String columnLabel, java.io.InputStream x, long length) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public void updateAsciiStream(String columnLabel, java.io.InputStream x, long length) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public void updateCharacterStream(int columnIndex, java.io.Reader x, long length) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public void updateBinaryStream(int columnIndex, java.io.InputStream x, long length) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public void updateAsciiStream(int columnIndex, java.io.InputStream x, long length) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public void updateNCharacterStream(String columnLabel, java.io.Reader reader, long length) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public void updateNCharacterStream(int columnIndex, java.io.Reader x, long length) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public java.io.Reader getNCharacterStream(int columnIndex) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public java.io.Reader getNCharacterStream(String columnIndex) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public String getNString(int columnIndex) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public String getNString(String columnIndex) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public void updateSQLXML(int columnIndex, SQLXML xmlObject) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public void updateSQLXML(String columnLabel, SQLXML xmlObject) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public SQLXML getSQLXML(int columnIndex) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public SQLXML getSQLXML(String columnLabel) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public NClob getNClob(int columnIndex) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public NClob getNClob(String columnLabel) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public void updateNClob(String columnLabel, NClob nClob) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public void updateNString(String columnLabel, String nString) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public void updateNString(int columnLabel, String nString) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public int getHoldability() throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public void updateRowId(int columnIndex, RowId x) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public void updateRowId(String columnLabel, RowId x) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public RowId getRowId(int columnIndex) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public RowId getRowId(String columnIndex) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public boolean isWrapperFor(java.lang.Class<?> iface) throws java.sql.SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public <T> T unwrap(java.lang.Class<T> iface) throws java.sql.SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
}
|
|
diff -Nru mysql-connector-java-5.1.36/src/com/mysql/jdbc/ResultSetMetaData.java mysql-connector-java-5.1.36.jdbc4.1/src/com/mysql/jdbc/ResultSetMetaData.java
|
|
--- mysql-connector-java-5.1.36/src/com/mysql/jdbc/ResultSetMetaData.java 2015-06-19 21:26:20.000000000 +0200
|
|
+++ mysql-connector-java-5.1.36.jdbc4.1/src/com/mysql/jdbc/ResultSetMetaData.java 2015-07-03 04:26:41.053544122 +0200
|
|
@@ -23,7 +23,9 @@
|
|
|
|
package com.mysql.jdbc;
|
|
|
|
+import java.sql.NClob;
|
|
import java.sql.SQLException;
|
|
+import java.sql.SQLFeatureNotSupportedException;
|
|
import java.sql.Types;
|
|
|
|
/**
|
|
@@ -832,12 +834,17 @@
|
|
* If no object found that implements the interface
|
|
* @since 1.6
|
|
*/
|
|
- public Object unwrap(Class<?> iface) throws java.sql.SQLException {
|
|
+ public <T> T unwrap(java.lang.Class<T> iface) throws java.sql.SQLException {
|
|
try {
|
|
// This works for classes that aren't actually wrapping anything
|
|
- return Util.cast(iface, this);
|
|
+ return iface.cast(this);
|
|
} catch (ClassCastException cce) {
|
|
throw SQLError.createSQLException("Unable to unwrap to " + iface.toString(), SQLError.SQL_STATE_ILLEGAL_ARGUMENT, this.exceptionInterceptor);
|
|
}
|
|
}
|
|
+
|
|
+ public void updateNClob(int columnIndex, NClob nClob) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
}
|
|
diff -Nru mysql-connector-java-5.1.36/src/com/mysql/jdbc/StatementImpl.java mysql-connector-java-5.1.36.jdbc4.1/src/com/mysql/jdbc/StatementImpl.java
|
|
--- mysql-connector-java-5.1.36/src/com/mysql/jdbc/StatementImpl.java 2015-06-19 21:26:20.000000000 +0200
|
|
+++ mysql-connector-java-5.1.36.jdbc4.1/src/com/mysql/jdbc/StatementImpl.java 2015-07-03 04:26:41.054544074 +0200
|
|
@@ -31,6 +31,8 @@
|
|
import java.sql.SQLException;
|
|
import java.sql.SQLWarning;
|
|
import java.sql.Types;
|
|
+import java.sql.SQLFeatureNotSupportedException;
|
|
+import java.sql.*;
|
|
import java.util.ArrayList;
|
|
import java.util.Calendar;
|
|
import java.util.Collections;
|
|
@@ -2686,10 +2688,10 @@
|
|
* If no object found that implements the interface
|
|
* @since 1.6
|
|
*/
|
|
- public Object unwrap(Class<?> iface) throws java.sql.SQLException {
|
|
+ public <T> T unwrap(java.lang.Class<T> iface) throws java.sql.SQLException {
|
|
try {
|
|
// This works for classes that aren't actually wrapping anything
|
|
- return Util.cast(iface, this);
|
|
+ return iface.cast(this);
|
|
} catch (ClassCastException cce) {
|
|
throw SQLError.createSQLException("Unable to unwrap to " + iface.toString(), SQLError.SQL_STATE_ILLEGAL_ARGUMENT, getExceptionInterceptor());
|
|
}
|
|
diff -Nru mysql-connector-java-5.1.36/src/testsuite/regression/StatementRegressionTest.java mysql-connector-java-5.1.36.jdbc4.1/src/testsuite/regression/StatementRegressionTest.java
|
|
--- mysql-connector-java-5.1.36/src/testsuite/regression/StatementRegressionTest.java 2015-06-19 21:26:20.000000000 +0200
|
|
+++ mysql-connector-java-5.1.36.jdbc4.1/src/testsuite/regression/StatementRegressionTest.java 2015-07-03 04:26:41.055544026 +0200
|
|
@@ -47,12 +47,16 @@
|
|
import java.sql.Connection;
|
|
import java.sql.DataTruncation;
|
|
import java.sql.Date;
|
|
+import java.sql.NClob;
|
|
import java.sql.PreparedStatement;
|
|
import java.sql.Ref;
|
|
import java.sql.ResultSet;
|
|
import java.sql.ResultSetMetaData;
|
|
+import java.sql.RowId;
|
|
+import java.sql.SQLFeatureNotSupportedException;
|
|
import java.sql.SQLException;
|
|
import java.sql.SQLWarning;
|
|
+import java.sql.SQLXML;
|
|
import java.sql.Statement;
|
|
import java.sql.Time;
|
|
import java.sql.Timestamp;
|
|
@@ -2319,7 +2323,8 @@
|
|
|
|
try {
|
|
pStmt = this.conn.prepareStatement("INSERT INTO testNullClob VALUES (?)");
|
|
- pStmt.setClob(1, null);
|
|
+ Clob x = null;
|
|
+ pStmt.setClob(1, x);
|
|
pStmt.executeUpdate();
|
|
} finally {
|
|
if (pStmt != null) {
|
|
@@ -4605,6 +4610,262 @@
|
|
public int getBytesSize() throws SQLException {
|
|
return 0;
|
|
}
|
|
+
|
|
+ @Override
|
|
+ public <T> T getObject(int columnIndex, Class<T> type) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public <T> T getObject(String columnLabel, Class<T> type) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public void updateNClob(int columnIndex, NClob nClob) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public void updateNClob(String columnLabel, Reader reader) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public void updateNClob(int columnIndex, Reader reader, long length) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public void updateNClob(String columnLabel, Reader reader, long length) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public void updateNClob(int columnIndex, Reader reader) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public void updateClob(int columnIndex, Reader reader) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public void updateClob(String columnLabel, Reader reader) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public void updateClob(int columnIndex, Reader reader, long length) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public void updateClob(String columnLabel, Reader reader, long length) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public void updateBlob(int columnIndex, InputStream inputStream) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public void updateBlob(String columnLabel, InputStream inputStream) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public void updateCharacterStream(String columnLabel, java.io.Reader reader) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public void updateBinaryStream(String columnLabel, java.io.InputStream x) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public void updateAsciiStream(String columnLabel, java.io.InputStream x) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public void updateCharacterStream(int columnIndex, java.io.Reader x) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public void updateBinaryStream(int columnIndex, java.io.InputStream x) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public void updateAsciiStream(int columnIndex, java.io.InputStream x) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public void updateNCharacterStream(String columnLabel, java.io.Reader reader) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public void updateNCharacterStream(int columnIndex, java.io.Reader x) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public void updateBlob(int columnIndex, InputStream inputStream, long length) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public void updateBlob(String columnLabel, InputStream inputStream, long length) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public void updateCharacterStream(String columnLabel, java.io.Reader reader, long length) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public void updateBinaryStream(String columnLabel, java.io.InputStream x, long length) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public void updateAsciiStream(String columnLabel, java.io.InputStream x, long length) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public void updateCharacterStream(int columnIndex, java.io.Reader x, long length) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public void updateBinaryStream(int columnIndex, java.io.InputStream x, long length) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public void updateAsciiStream(int columnIndex, java.io.InputStream x, long length) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public void updateNCharacterStream(String columnLabel, java.io.Reader reader, long length) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public void updateNCharacterStream(int columnIndex, java.io.Reader x, long length) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public java.io.Reader getNCharacterStream(int columnIndex) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public java.io.Reader getNCharacterStream(String columnIndex) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public String getNString(int columnIndex) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public String getNString(String columnIndex) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public void updateSQLXML(int columnIndex, SQLXML xmlObject) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public void updateSQLXML(String columnLabel, SQLXML xmlObject) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public SQLXML getSQLXML(int columnIndex) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public SQLXML getSQLXML(String columnLabel) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public NClob getNClob(int columnIndex) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public NClob getNClob(String columnLabel) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public void updateNClob(String columnLabel, NClob nClob) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public void updateNString(String columnLabel, String nString) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public void updateNString(int columnLabel, String nString) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public int getHoldability() throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public void updateRowId(int columnIndex, RowId x) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public void updateRowId(String columnLabel, RowId x) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public RowId getRowId(int columnIndex) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public RowId getRowId(String columnIndex) throws SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public boolean isWrapperFor(java.lang.Class<?> iface) throws java.sql.SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
+ @Override
|
|
+ public <T> T unwrap(java.lang.Class<T> iface) throws java.sql.SQLException {
|
|
+ throw new SQLFeatureNotSupportedException("Not supported");
|
|
+ }
|
|
+
|
|
};
|
|
}
|
|
|