forked from pool/mysql-connector-java
OBS-URL: https://build.opensuse.org/package/show/Java:packages/mysql-connector-java?expand=0&rev=6
82 lines
3.0 KiB
Diff
82 lines
3.0 KiB
Diff
diff -Naur mysql-connector-java-5.1.17.orig/src/com/mysql/jdbc/JDBC4Connection.java mysql-connector-java-5.1.17/src/com/mysql/jdbc/JDBC4Connection.java
|
|
--- mysql-connector-java-5.1.17.orig/src/com/mysql/jdbc/JDBC4Connection.java 2011-07-04 10:24:08.000000000 -0400
|
|
+++ mysql-connector-java-5.1.17/src/com/mysql/jdbc/JDBC4Connection.java 2012-05-03 18:03:28.311324320 -0400
|
|
@@ -28,9 +28,11 @@
|
|
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.concurrent.Executor;
|
|
import java.util.Properties;
|
|
import java.util.TimerTask;
|
|
|
|
@@ -234,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 -Naur mysql-connector-java-5.1.17.orig/src/com/mysql/jdbc/JDBC4LoadBalancedMySQLConnection.java mysql-connector-java-5.1.17/src/com/mysql/jdbc/JDBC4LoadBalancedMySQLConnection.java
|
|
--- mysql-connector-java-5.1.17.orig/src/com/mysql/jdbc/JDBC4LoadBalancedMySQLConnection.java 2011-07-04 10:24:08.000000000 -0400
|
|
+++ mysql-connector-java-5.1.17/src/com/mysql/jdbc/JDBC4LoadBalancedMySQLConnection.java 2012-05-03 18:03:28.312324397 -0400
|
|
@@ -29,9 +29,11 @@
|
|
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.concurrent.Executor;
|
|
import java.util.Properties;
|
|
import java.util.TimerTask;
|
|
|
|
@@ -129,4 +131,24 @@
|
|
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");
|
|
+ }
|
|
}
|