Group :: Desenvolvimento/Java
RPM: mckoi
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Patch: mckoi-1.0.4-jdk7.patch
Download
Download
diff -Nru src/main/java/com/mckoi/database/jdbc/MConnection.java src/main/java/com/mckoi/database/jdbc-gil/MConnection.java
--- src/main/java/com/mckoi/database/jdbc/MConnection.java 2011-10-29 18:26:34.000000000 +0200
+++ src/main/java/com/mckoi/database/jdbc-gil/MConnection.java 2012-06-17 14:40:57.000000000 +0200
@@ -29,6 +29,7 @@
import java.util.Properties;
import java.util.Vector;
import java.util.StringTokenizer;
+import java.util.concurrent.Executor;
import com.mckoi.database.global.ColumnDescription;
import com.mckoi.database.global.ObjectTransfer;
import com.mckoi.database.global.StreamableObject;
@@ -906,6 +907,25 @@
//#ENDIF
+ public int getNetworkTimeout() throws SQLException {
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public void setNetworkTimeout(Executor executor, int timeout) throws SQLException {
+ throw new SQLFeatureNotSupportedException();
+ }
+ public void abort(Executor executor) throws SQLException {
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public String getSchema() throws SQLException {
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public void setSchema(String schema) throws SQLException {
+ throw new SQLFeatureNotSupportedException();
+ }
+
// ---------- Inner classes ----------
/**
diff -Nru src/main/java/com/mckoi/database/jdbc/MDatabaseMetaData.java src/main/java/com/mckoi/database/jdbc-gil/MDatabaseMetaData.java
--- src/main/java/com/mckoi/database/jdbc/MDatabaseMetaData.java 2011-10-29 18:26:50.000000000 +0200
+++ src/main/java/com/mckoi/database/jdbc-gil/MDatabaseMetaData.java 2012-06-17 14:51:07.000000000 +0200
@@ -1171,4 +1171,12 @@
//#ENDIF
+ public boolean generatedKeyAlwaysReturned() throws SQLException {
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public ResultSet getPseudoColumns(String catalog, String schemaPattern, String tableNamePattern, String columnNamePattern) throws SQLException {
+ throw new SQLFeatureNotSupportedException();
+ }
+
}
diff -Nru src/main/java/com/mckoi/database/jdbc/MDriver.java src/main/java/com/mckoi/database/jdbc-gil/MDriver.java
--- src/main/java/com/mckoi/database/jdbc/MDriver.java 2011-10-24 14:50:16.000000000 +0200
+++ src/main/java/com/mckoi/database/jdbc-gil/MDriver.java 2012-06-17 14:48:53.000000000 +0200
@@ -29,11 +29,13 @@
import java.sql.*;
import java.io.*;
+import java.lang.NullPointerException;
import java.util.Properties;
import java.util.Enumeration;
import java.util.StringTokenizer;
import java.util.Vector;
import java.util.Hashtable;
+import java.util.logging.Logger;
import java.net.URL;
import java.net.MalformedURLException;
@@ -629,4 +631,8 @@
return false;
}
+ public Logger getParentLogger() throws SQLFeatureNotSupportedException {
+ throw new NullPointerException();
+ }
+
}
diff -Nru src/main/java/com/mckoi/database/jdbc/MPreparedStatement.java src/main/java/com/mckoi/database/jdbc-gil/MPreparedStatement.java
--- src/main/java/com/mckoi/database/jdbc/MPreparedStatement.java 2011-10-24 15:10:02.000000000 +0200
+++ src/main/java/com/mckoi/database/jdbc-gil/MPreparedStatement.java 2012-06-17 14:45:52.000000000 +0200
@@ -564,6 +564,13 @@
}
//#ENDIF
+ public boolean isCloseOnCompletion() throws SQLException {
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public void closeOnCompletion() throws SQLException {
+ throw new SQLFeatureNotSupportedException();
+ }
/**
* For diagnostics.
diff -Nru src/main/java/com/mckoi/database/jdbc/MResultSet.java src/main/java/com/mckoi/database/jdbc-gil/MResultSet.java
--- src/main/java/com/mckoi/database/jdbc/MResultSet.java 2011-10-29 18:28:46.000000000 +0200
+++ src/main/java/com/mckoi/database/jdbc-gil/MResultSet.java 2012-06-17 14:57:10.000000000 +0200
@@ -1893,6 +1893,62 @@
//#ENDIF
+ public <T> T getObject(String columnLabel, Class<T> arg0) throws SQLException {
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public <T> T getObject(int columnIndex, Class<T> arg0) throws SQLException {
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public void setNClob(String parameterName, Reader reader) throws SQLException {
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public void setBlob(String parameterName, java.io.InputStream inputStream) throws SQLException {
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public void setClob(String parameterName, Reader reader) throws SQLException {
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public void setNCharacterStream(String parameterName, Reader value) throws SQLException {
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public void setCharacterStream(String parameterName, Reader reader) throws SQLException {
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public void setBinaryStream(String parameterName, InputStream x) throws SQLException {
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public void setAsciiStream(String parameterName, InputStream x) throws SQLException {
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public void setCharacterStream(String parameterName, Reader reader, long length) throws SQLException {
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public void setBinaryStream(String parameterName, InputStream x, long length) throws SQLException {
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public void setAsciiStream(String parameterName, InputStream x, long length) throws SQLException {
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public void setClob(String parameterName, Clob x) throws SQLException {
+ throw new SQLFeatureNotSupportedException();
+ }
+
+ public void setBlob(String parameterName, Blob x) throws SQLException {
+ throw new SQLFeatureNotSupportedException();
+ }
+
// ---------- Finalize ----------
public void finalize() {
diff -Nru src/main/java/com/mckoi/database/jdbc/MStatement.java src/main/java/com/mckoi/database/jdbc-gil/MStatement.java
--- src/main/java/com/mckoi/database/jdbc/MStatement.java 2011-10-29 18:32:32.000000000 +0200
+++ src/main/java/com/mckoi/database/jdbc-gil/MStatement.java 2012-06-17 14:44:21.000000000 +0200
@@ -598,7 +598,13 @@
}
//#ENDIF
+ public boolean isCloseOnCompletion() throws SQLException {
+ throw new SQLFeatureNotSupportedException();
+ }
+ public void closeOnCompletion() throws SQLException {
+ throw new SQLFeatureNotSupportedException();
+ }