|
|
d86cbb |
diff -u -r dbcp/BasicDataSource.java /home/tester/Desktop/apache-commons-dbcp/f17/commons-dbcp-1.4-src/src/java/org/apache/commons/dbcp/BasicDataSource.java
|
|
|
d86cbb |
--- src/java/org/apache/commons/dbcp/BasicDataSource.java 2010-02-07 17:59:20.000000000 +0100
|
|
|
d86cbb |
+++ src/java/org/apache/commons/dbcp/BasicDataSource.java 2012-02-23 09:11:04.481618663 +0100
|
|
|
d86cbb |
@@ -24,10 +24,12 @@
|
|
|
d86cbb |
import java.util.ArrayList;
|
|
|
d86cbb |
import java.util.Iterator;
|
|
|
d86cbb |
import java.util.Collections;
|
|
|
d86cbb |
+import java.util.logging.Logger;
|
|
|
d86cbb |
import java.sql.Connection;
|
|
|
d86cbb |
import java.sql.Driver;
|
|
|
d86cbb |
import java.sql.DriverManager;
|
|
|
d86cbb |
import java.sql.SQLException;
|
|
|
d86cbb |
+import java.sql.SQLFeatureNotSupportedException;
|
|
|
d86cbb |
import javax.sql.DataSource;
|
|
|
d86cbb |
|
|
|
d86cbb |
import org.apache.commons.pool.KeyedObjectPoolFactory;
|
|
|
d86cbb |
@@ -1579,4 +1581,10 @@
|
|
|
d86cbb |
logWriter.println(message);
|
|
|
d86cbb |
}
|
|
|
d86cbb |
}
|
|
|
d86cbb |
+
|
|
|
d86cbb |
+ /* This functionality is not implemented yet */
|
|
|
d86cbb |
+ public Logger getParentLogger() throws SQLFeatureNotSupportedException {
|
|
|
d86cbb |
+ throw new SQLFeatureNotSupportedException();
|
|
|
d86cbb |
+ }
|
|
|
d86cbb |
+
|
|
|
d86cbb |
}
|
|
|
d86cbb |
diff -u -r dbcp/cpdsadapter/DriverAdapterCPDS.java /home/tester/Desktop/apache-commons-dbcp/f17/commons-dbcp-1.4-src/src/java/org/apache/commons/dbcp/cpdsadapter/DriverAdapterCPDS.java
|
|
|
d86cbb |
--- src/java/org/apache/commons/dbcp/cpdsadapter/DriverAdapterCPDS.java 2010-02-07 17:59:19.000000000 +0100
|
|
|
d86cbb |
+++ src/java/org/apache/commons/dbcp/cpdsadapter/DriverAdapterCPDS.java 2012-02-23 09:13:29.490605580 +0100
|
|
|
d86cbb |
@@ -19,10 +19,12 @@
|
|
|
d86cbb |
|
|
|
d86cbb |
import java.util.Hashtable;
|
|
|
d86cbb |
import java.util.Properties;
|
|
|
d86cbb |
+import java.util.logging.Logger;
|
|
|
d86cbb |
import java.io.PrintWriter;
|
|
|
d86cbb |
import java.io.Serializable;
|
|
|
d86cbb |
import java.sql.DriverManager;
|
|
|
d86cbb |
import java.sql.SQLException;
|
|
|
d86cbb |
+import java.sql.SQLFeatureNotSupportedException;
|
|
|
d86cbb |
import javax.sql.PooledConnection;
|
|
|
d86cbb |
import javax.sql.ConnectionPoolDataSource;
|
|
|
d86cbb |
import javax.naming.Name;
|
|
|
d86cbb |
@@ -719,4 +721,10 @@
|
|
|
d86cbb |
{
|
|
|
d86cbb |
_maxPreparedStatements = maxPreparedStatements;
|
|
|
d86cbb |
}
|
|
|
d86cbb |
+
|
|
|
d86cbb |
+ /* This functionality is not implemented yet */
|
|
|
d86cbb |
+ public Logger getParentLogger() throws SQLFeatureNotSupportedException {
|
|
|
d86cbb |
+ throw new SQLFeatureNotSupportedException();
|
|
|
d86cbb |
+ }
|
|
|
d86cbb |
+
|
|
|
d86cbb |
}
|
|
|
d86cbb |
diff -u -r dbcp/datasources/PerUserPoolDataSource.java /home/tester/Desktop/apache-commons-dbcp/f17/commons-dbcp-1.4-src/src/java/org/apache/commons/dbcp/datasources/PerUserPoolDataSource.java
|
|
|
d86cbb |
--- src/java/org/apache/commons/dbcp/datasources/PerUserPoolDataSource.java 2010-02-07 17:59:20.000000000 +0100
|
|
|
d86cbb |
+++ src/java/org/apache/commons/dbcp/datasources/PerUserPoolDataSource.java 2012-02-23 09:12:13.582612432 +0100
|
|
|
d86cbb |
@@ -21,10 +21,12 @@
|
|
|
d86cbb |
import java.io.ObjectInputStream;
|
|
|
d86cbb |
import java.sql.Connection;
|
|
|
d86cbb |
import java.sql.SQLException;
|
|
|
d86cbb |
+import java.sql.SQLFeatureNotSupportedException;
|
|
|
d86cbb |
import java.util.HashMap;
|
|
|
d86cbb |
import java.util.Iterator;
|
|
|
d86cbb |
import java.util.Map;
|
|
|
d86cbb |
import java.util.NoSuchElementException;
|
|
|
d86cbb |
+import java.util.logging.Logger;
|
|
|
d86cbb |
|
|
|
d86cbb |
import javax.naming.NamingException;
|
|
|
d86cbb |
import javax.naming.Reference;
|
|
|
d86cbb |
@@ -561,4 +563,10 @@
|
|
|
d86cbb |
CPDSConnectionFactory mgr = (CPDSConnectionFactory) managers.get(key);
|
|
|
d86cbb |
return mgr == null ? null : (GenericObjectPool) mgr.getPool();
|
|
|
d86cbb |
}
|
|
|
d86cbb |
+
|
|
|
d86cbb |
+ /* This functionality is not implemented yet */
|
|
|
d86cbb |
+ public Logger getParentLogger() throws SQLFeatureNotSupportedException {
|
|
|
d86cbb |
+ throw new SQLFeatureNotSupportedException();
|
|
|
d86cbb |
+ }
|
|
|
d86cbb |
+
|
|
|
d86cbb |
}
|
|
|
d86cbb |
diff -u -r dbcp/datasources/SharedPoolDataSource.java /home/tester/Desktop/apache-commons-dbcp/f17/commons-dbcp-1.4-src/src/java/org/apache/commons/dbcp/datasources/SharedPoolDataSource.java
|
|
|
d86cbb |
--- src/java/org/apache/commons/dbcp/datasources/SharedPoolDataSource.java 2010-02-07 17:59:20.000000000 +0100
|
|
|
d86cbb |
+++ src/java/org/apache/commons/dbcp/datasources/SharedPoolDataSource.java 2012-02-23 09:14:10.326601896 +0100
|
|
|
d86cbb |
@@ -21,6 +21,8 @@
|
|
|
d86cbb |
import java.io.ObjectInputStream;
|
|
|
d86cbb |
import java.sql.Connection;
|
|
|
d86cbb |
import java.sql.SQLException;
|
|
|
d86cbb |
+import java.sql.SQLFeatureNotSupportedException;
|
|
|
d86cbb |
+import java.util.logging.Logger;
|
|
|
d86cbb |
|
|
|
d86cbb |
import javax.naming.NamingException;
|
|
|
d86cbb |
import javax.naming.Reference;
|
|
|
d86cbb |
@@ -269,5 +271,11 @@
|
|
|
d86cbb |
throw new IOException("NamingException: " + e);
|
|
|
d86cbb |
}
|
|
|
d86cbb |
}
|
|
|
d86cbb |
+
|
|
|
d86cbb |
+ /* This functionality is not implemented yet */
|
|
|
d86cbb |
+ public Logger getParentLogger() throws SQLFeatureNotSupportedException {
|
|
|
d86cbb |
+ throw new SQLFeatureNotSupportedException();
|
|
|
d86cbb |
+ }
|
|
|
d86cbb |
+
|
|
|
d86cbb |
}
|
|
|
d86cbb |
|
|
|
d86cbb |
diff -u -r dbcp/DelegatingCallableStatement.java /home/tester/Desktop/apache-commons-dbcp/f17/commons-dbcp-1.4-src/src/java/org/apache/commons/dbcp/DelegatingCallableStatement.java
|
|
|
d86cbb |
--- src/java/org/apache/commons/dbcp/DelegatingCallableStatement.java 2010-02-07 17:59:20.000000000 +0100
|
|
|
d86cbb |
+++ src/java/org/apache/commons/dbcp/DelegatingCallableStatement.java 2012-02-23 09:17:35.805583354 +0100
|
|
|
d86cbb |
@@ -37,6 +37,7 @@
|
|
|
d86cbb |
import java.sql.RowId;
|
|
|
d86cbb |
import java.sql.SQLXML;
|
|
|
d86cbb |
/* JDBC_4_ANT_KEY_END */
|
|
|
d86cbb |
+import java.sql.SQLFeatureNotSupportedException;
|
|
|
d86cbb |
|
|
|
d86cbb |
/**
|
|
|
d86cbb |
* A base delegating implementation of {@link CallableStatement}.
|
|
|
d86cbb |
@@ -661,4 +662,14 @@
|
|
|
d86cbb |
}
|
|
|
d86cbb |
}
|
|
|
d86cbb |
/* JDBC_4_ANT_KEY_END */
|
|
|
d86cbb |
+
|
|
|
d86cbb |
+ /* This functionality is not implemented yet */
|
|
|
d86cbb |
+ public <T> T getObject(String columnLabel, Class<T> type) throws SQLException {
|
|
|
d86cbb |
+ throw new SQLFeatureNotSupportedException();
|
|
|
d86cbb |
+ }
|
|
|
d86cbb |
+
|
|
|
d86cbb |
+ /* This functionality is not implemented yet */
|
|
|
d86cbb |
+ public <T> T getObject(int columnIndex, Class<T> type) throws SQLException {
|
|
|
d86cbb |
+ throw new SQLFeatureNotSupportedException();
|
|
|
d86cbb |
+ }
|
|
|
d86cbb |
}
|
|
|
d86cbb |
diff -u -r dbcp/DelegatingConnection.java /home/tester/Desktop/apache-commons-dbcp/f17/commons-dbcp-1.4-src/src/java/org/apache/commons/dbcp/DelegatingConnection.java
|
|
|
d86cbb |
--- src/java/org/apache/commons/dbcp/DelegatingConnection.java 2010-02-07 17:59:20.000000000 +0100
|
|
|
d86cbb |
+++ src/java/org/apache/commons/dbcp/DelegatingConnection.java 2012-02-23 09:04:56.488651873 +0100
|
|
|
d86cbb |
@@ -27,6 +27,7 @@
|
|
|
d86cbb |
import java.util.Iterator;
|
|
|
d86cbb |
import java.util.List;
|
|
|
d86cbb |
import java.util.Map;
|
|
|
d86cbb |
+import java.util.concurrent.Executor;
|
|
|
d86cbb |
import java.sql.ResultSet;
|
|
|
d86cbb |
/* JDBC_4_ANT_KEY_BEGIN */
|
|
|
d86cbb |
import java.sql.Array;
|
|
|
d86cbb |
@@ -40,6 +41,7 @@
|
|
|
d86cbb |
import java.util.Collections;
|
|
|
d86cbb |
import java.util.Properties;
|
|
|
d86cbb |
/* JDBC_4_ANT_KEY_END */
|
|
|
d86cbb |
+import java.sql.SQLFeatureNotSupportedException;
|
|
|
d86cbb |
|
|
|
d86cbb |
/**
|
|
|
d86cbb |
* A base delegating implementation of {@link Connection}.
|
|
|
d86cbb |
@@ -678,5 +680,31 @@
|
|
|
d86cbb |
return null;
|
|
|
d86cbb |
}
|
|
|
d86cbb |
}
|
|
|
d86cbb |
-/* JDBC_4_ANT_KEY_END */
|
|
|
d86cbb |
+ /* JDBC_4_ANT_KEY_END */
|
|
|
d86cbb |
+
|
|
|
d86cbb |
+ /* This functionality is not implemented yet */
|
|
|
d86cbb |
+ public int getNetworkTimeout() throws SQLException {
|
|
|
d86cbb |
+ throw new SQLFeatureNotSupportedException();
|
|
|
d86cbb |
+ }
|
|
|
d86cbb |
+
|
|
|
d86cbb |
+ /* This functionality is not implemented yet */
|
|
|
d86cbb |
+ public void setNetworkTimeout(Executor executor, int milliseconds) throws SQLException {
|
|
|
d86cbb |
+ throw new SQLFeatureNotSupportedException();
|
|
|
d86cbb |
+ }
|
|
|
d86cbb |
+
|
|
|
d86cbb |
+ /* This functionality is not implemented yet */
|
|
|
d86cbb |
+ public void abort(Executor executor) throws SQLException {
|
|
|
d86cbb |
+ throw new SQLFeatureNotSupportedException();
|
|
|
d86cbb |
+ }
|
|
|
d86cbb |
+
|
|
|
d86cbb |
+ /* This functionality is not implemented yet */
|
|
|
d86cbb |
+ public String getSchema() throws SQLException {
|
|
|
d86cbb |
+ throw new SQLFeatureNotSupportedException();
|
|
|
d86cbb |
+ }
|
|
|
d86cbb |
+
|
|
|
d86cbb |
+ /* This functionality is not implemented yet */
|
|
|
d86cbb |
+ public void setSchema(String schema) throws SQLException {
|
|
|
d86cbb |
+ throw new SQLFeatureNotSupportedException();
|
|
|
d86cbb |
+ }
|
|
|
d86cbb |
}
|
|
|
d86cbb |
+
|
|
|
d86cbb |
diff -u -r dbcp/DelegatingDatabaseMetaData.java /home/tester/Desktop/apache-commons-dbcp/f17/commons-dbcp-1.4-src/src/java/org/apache/commons/dbcp/DelegatingDatabaseMetaData.java
|
|
|
d86cbb |
--- src/java/org/apache/commons/dbcp/DelegatingDatabaseMetaData.java 2010-02-07 17:59:20.000000000 +0100
|
|
|
d86cbb |
+++ src/java/org/apache/commons/dbcp/DelegatingDatabaseMetaData.java 2012-02-23 09:20:38.181566898 +0100
|
|
|
d86cbb |
@@ -24,6 +24,7 @@
|
|
|
d86cbb |
import java.sql.RowIdLifetime;
|
|
|
d86cbb |
/* JDBC_4_ANT_KEY_END */
|
|
|
d86cbb |
import java.sql.SQLException;
|
|
|
d86cbb |
+import java.sql.SQLFeatureNotSupportedException;
|
|
|
d86cbb |
|
|
|
d86cbb |
/**
|
|
|
d86cbb |
* A base delegating implementation of {@link DatabaseMetaData}.
|
|
|
d86cbb |
@@ -1208,4 +1209,13 @@
|
|
|
d86cbb |
|
|
|
d86cbb |
/* JDBC_4_ANT_KEY_END */
|
|
|
d86cbb |
|
|
|
d86cbb |
+ /* This functionality is not implemented yet */
|
|
|
d86cbb |
+ public boolean generatedKeyAlwaysReturned() throws SQLException {
|
|
|
d86cbb |
+ throw new SQLFeatureNotSupportedException();
|
|
|
d86cbb |
+ }
|
|
|
d86cbb |
+
|
|
|
d86cbb |
+ /* This functionality is not implemented yet */
|
|
|
d86cbb |
+ public ResultSet getPseudoColumns(String catalog, String schemaPattern, String tableNamePattern, String columnNamePattern) throws SQLException {
|
|
|
d86cbb |
+ throw new SQLFeatureNotSupportedException();
|
|
|
d86cbb |
+ }
|
|
|
d86cbb |
}
|
|
|
d86cbb |
diff -u -r dbcp/DelegatingPreparedStatement.java /home/tester/Desktop/apache-commons-dbcp/f17/commons-dbcp-1.4-src/src/java/org/apache/commons/dbcp/DelegatingPreparedStatement.java
|
|
|
d86cbb |
--- src/java/org/apache/commons/dbcp/DelegatingPreparedStatement.java 2010-02-07 17:59:20.000000000 +0100
|
|
|
d86cbb |
+++ src/java/org/apache/commons/dbcp/DelegatingPreparedStatement.java 2012-02-23 09:04:37.793653560 +0100
|
|
|
d86cbb |
@@ -34,6 +34,7 @@
|
|
|
d86cbb |
import java.sql.RowId;
|
|
|
d86cbb |
import java.sql.SQLXML;
|
|
|
d86cbb |
/* JDBC_4_ANT_KEY_END */
|
|
|
d86cbb |
+import java.sql.SQLFeatureNotSupportedException;
|
|
|
d86cbb |
|
|
|
d86cbb |
/**
|
|
|
d86cbb |
* A base delegating implementation of {@link PreparedStatement}.
|
|
|
d86cbb |
@@ -402,4 +403,15 @@
|
|
|
d86cbb |
}
|
|
|
d86cbb |
}
|
|
|
d86cbb |
/* JDBC_4_ANT_KEY_END */
|
|
|
d86cbb |
+
|
|
|
d86cbb |
+ /* This functionality is not implemented yet */
|
|
|
d86cbb |
+ public boolean isCloseOnCompletion() throws SQLException {
|
|
|
d86cbb |
+ throw new SQLFeatureNotSupportedException();
|
|
|
d86cbb |
+ }
|
|
|
d86cbb |
+
|
|
|
d86cbb |
+ /* This functionality is not implemented yet */
|
|
|
d86cbb |
+ public void closeOnCompletion() throws SQLException {
|
|
|
d86cbb |
+ throw new SQLFeatureNotSupportedException();
|
|
|
d86cbb |
+ }
|
|
|
d86cbb |
+
|
|
|
d86cbb |
}
|
|
|
d86cbb |
diff -u -r dbcp/DelegatingResultSet.java /home/tester/Desktop/apache-commons-dbcp/f17/commons-dbcp-1.4-src/src/java/org/apache/commons/dbcp/DelegatingResultSet.java
|
|
|
d86cbb |
--- src/java/org/apache/commons/dbcp/DelegatingResultSet.java 2010-02-07 17:59:20.000000000 +0100
|
|
|
d86cbb |
+++ src/java/org/apache/commons/dbcp/DelegatingResultSet.java 2012-02-23 09:17:19.905584789 +0100
|
|
|
d86cbb |
@@ -40,6 +40,7 @@
|
|
|
d86cbb |
import java.sql.RowId;
|
|
|
d86cbb |
import java.sql.SQLXML;
|
|
|
d86cbb |
/* JDBC_4_ANT_KEY_END */
|
|
|
d86cbb |
+import java.sql.SQLFeatureNotSupportedException;
|
|
|
d86cbb |
|
|
|
d86cbb |
/**
|
|
|
d86cbb |
* A base delegating implementation of {@link ResultSet}.
|
|
|
d86cbb |
@@ -1079,4 +1080,14 @@
|
|
|
d86cbb |
}
|
|
|
d86cbb |
}
|
|
|
d86cbb |
/* JDBC_4_ANT_KEY_END */
|
|
|
d86cbb |
+
|
|
|
d86cbb |
+ /* This functionality is not implemented yet */
|
|
|
d86cbb |
+ public <T> T getObject(String columnLabel, Class<T> type) throws SQLException {
|
|
|
d86cbb |
+ throw new SQLFeatureNotSupportedException();
|
|
|
d86cbb |
+ }
|
|
|
d86cbb |
+
|
|
|
d86cbb |
+ /* This functionality is not implemented yet */
|
|
|
d86cbb |
+ public <T> T getObject(int columnIndex, Class<T> type) throws SQLException {
|
|
|
d86cbb |
+ throw new SQLFeatureNotSupportedException();
|
|
|
d86cbb |
+ }
|
|
|
d86cbb |
}
|
|
|
d86cbb |
diff -u -r dbcp/DelegatingStatement.java /home/tester/Desktop/apache-commons-dbcp/f17/commons-dbcp-1.4-src/src/java/org/apache/commons/dbcp/DelegatingStatement.java
|
|
|
d86cbb |
--- src/java/org/apache/commons/dbcp/DelegatingStatement.java 2010-02-07 17:59:20.000000000 +0100
|
|
|
d86cbb |
+++ src/java/org/apache/commons/dbcp/DelegatingStatement.java 2012-02-23 09:04:41.171653252 +0100
|
|
|
d86cbb |
@@ -22,6 +22,7 @@
|
|
|
d86cbb |
import java.sql.SQLException;
|
|
|
d86cbb |
import java.sql.SQLWarning;
|
|
|
d86cbb |
import java.sql.Statement;
|
|
|
d86cbb |
+import java.sql.SQLFeatureNotSupportedException;
|
|
|
d86cbb |
import java.util.List;
|
|
|
d86cbb |
|
|
|
d86cbb |
/**
|
|
|
d86cbb |
@@ -386,4 +387,15 @@
|
|
|
d86cbb |
}
|
|
|
d86cbb |
}
|
|
|
d86cbb |
/* JDBC_4_ANT_KEY_END */
|
|
|
d86cbb |
+
|
|
|
d86cbb |
+ /* This functionality is not implemented yet */
|
|
|
d86cbb |
+ public boolean isCloseOnCompletion() throws SQLException {
|
|
|
d86cbb |
+ throw new SQLFeatureNotSupportedException();
|
|
|
d86cbb |
+ }
|
|
|
d86cbb |
+
|
|
|
d86cbb |
+ /* This functionality is not implemented yet */
|
|
|
d86cbb |
+ public void closeOnCompletion() throws SQLException {
|
|
|
d86cbb |
+ throw new SQLFeatureNotSupportedException();
|
|
|
d86cbb |
+ }
|
|
|
d86cbb |
+
|
|
|
d86cbb |
}
|
|
|
d86cbb |
diff -u -r dbcp/PoolableCallableStatement.java /home/tester/Desktop/apache-commons-dbcp/f17/commons-dbcp-1.4-src/src/java/org/apache/commons/dbcp/PoolableCallableStatement.java
|
|
|
d86cbb |
--- src/java/org/apache/commons/dbcp/PoolableCallableStatement.java 2010-02-07 17:59:20.000000000 +0100
|
|
|
d86cbb |
+++ src/java/org/apache/commons/dbcp/PoolableCallableStatement.java 2012-02-23 09:17:44.514582568 +0100
|
|
|
d86cbb |
@@ -21,6 +21,7 @@
|
|
|
d86cbb |
import java.sql.Connection;
|
|
|
d86cbb |
import java.sql.ResultSet;
|
|
|
d86cbb |
import java.sql.SQLException;
|
|
|
d86cbb |
+import java.sql.SQLFeatureNotSupportedException;
|
|
|
d86cbb |
import java.util.List;
|
|
|
d86cbb |
|
|
|
d86cbb |
import org.apache.commons.pool.KeyedObjectPool;
|
|
|
d86cbb |
@@ -123,4 +124,13 @@
|
|
|
d86cbb |
super.passivate();
|
|
|
d86cbb |
}
|
|
|
d86cbb |
|
|
|
d86cbb |
+ /* This functionality is not implemented yet */
|
|
|
d86cbb |
+ public <T> T getObject(String columnLabel, Class<T> type) throws SQLException {
|
|
|
d86cbb |
+ throw new SQLFeatureNotSupportedException();
|
|
|
d86cbb |
+ }
|
|
|
d86cbb |
+
|
|
|
d86cbb |
+ /* This functionality is not implemented yet */
|
|
|
d86cbb |
+ public <T> T getObject(int columnIndex, Class<T> type) throws SQLException {
|
|
|
d86cbb |
+ throw new SQLFeatureNotSupportedException();
|
|
|
d86cbb |
+ }
|
|
|
d86cbb |
}
|
|
|
d86cbb |
diff -u -r dbcp/PoolablePreparedStatement.java /home/tester/Desktop/apache-commons-dbcp/f17/commons-dbcp-1.4-src/src/java/org/apache/commons/dbcp/PoolablePreparedStatement.java
|
|
|
d86cbb |
--- src/java/org/apache/commons/dbcp/PoolablePreparedStatement.java 2010-02-07 17:59:20.000000000 +0100
|
|
|
d86cbb |
+++ src/java/org/apache/commons/dbcp/PoolablePreparedStatement.java 2012-02-23 09:16:01.670591848 +0100
|
|
|
d86cbb |
@@ -21,6 +21,7 @@
|
|
|
d86cbb |
import java.sql.PreparedStatement;
|
|
|
d86cbb |
import java.sql.ResultSet;
|
|
|
d86cbb |
import java.sql.SQLException;
|
|
|
d86cbb |
+import java.sql.SQLFeatureNotSupportedException;
|
|
|
d86cbb |
import java.util.List;
|
|
|
d86cbb |
|
|
|
d86cbb |
import org.apache.commons.pool.KeyedObjectPool;
|
|
|
d86cbb |
@@ -137,4 +138,14 @@
|
|
|
d86cbb |
super.passivate();
|
|
|
d86cbb |
}
|
|
|
d86cbb |
|
|
|
d86cbb |
+ /* This functionality is not implemented yet */
|
|
|
d86cbb |
+ public boolean isCloseOnCompletion() throws SQLException {
|
|
|
d86cbb |
+ throw new SQLFeatureNotSupportedException();
|
|
|
d86cbb |
+ }
|
|
|
d86cbb |
+
|
|
|
d86cbb |
+ /* This functionality is not implemented yet */
|
|
|
d86cbb |
+ public void closeOnCompletion() throws SQLException {
|
|
|
d86cbb |
+ throw new SQLFeatureNotSupportedException();
|
|
|
d86cbb |
+ }
|
|
|
d86cbb |
+
|
|
|
d86cbb |
}
|
|
|
d86cbb |
diff -u -r dbcp/PoolingConnection.java /home/tester/Desktop/apache-commons-dbcp/f17/commons-dbcp-1.4-src/src/java/org/apache/commons/dbcp/PoolingConnection.java
|
|
|
d86cbb |
--- src/java/org/apache/commons/dbcp/PoolingConnection.java 2010-02-07 17:59:20.000000000 +0100
|
|
|
d86cbb |
+++ src/java/org/apache/commons/dbcp/PoolingConnection.java 2012-02-23 09:08:08.716634524 +0100
|
|
|
d86cbb |
@@ -21,8 +21,10 @@
|
|
|
d86cbb |
import java.sql.Connection;
|
|
|
d86cbb |
import java.sql.PreparedStatement;
|
|
|
d86cbb |
import java.sql.SQLException;
|
|
|
d86cbb |
+import java.sql.SQLFeatureNotSupportedException;
|
|
|
d86cbb |
|
|
|
d86cbb |
import java.util.NoSuchElementException;
|
|
|
d86cbb |
+import java.util.concurrent.Executor;
|
|
|
d86cbb |
|
|
|
d86cbb |
import org.apache.commons.pool.KeyedObjectPool;
|
|
|
d86cbb |
import org.apache.commons.pool.KeyedPoolableObjectFactory;
|
|
|
d86cbb |
@@ -455,4 +457,30 @@
|
|
|
d86cbb |
return buf.toString();
|
|
|
d86cbb |
}
|
|
|
d86cbb |
}
|
|
|
d86cbb |
+
|
|
|
d86cbb |
+ /* This functionality is not implemented yet */
|
|
|
d86cbb |
+ public int getNetworkTimeout() throws SQLException {
|
|
|
d86cbb |
+ throw new SQLFeatureNotSupportedException();
|
|
|
d86cbb |
+ }
|
|
|
d86cbb |
+
|
|
|
d86cbb |
+ /* This functionality is not implemented yet */
|
|
|
d86cbb |
+ public void setNetworkTimeout(Executor executor, int milliseconds) throws SQLException {
|
|
|
d86cbb |
+ throw new SQLFeatureNotSupportedException();
|
|
|
d86cbb |
+ }
|
|
|
d86cbb |
+
|
|
|
d86cbb |
+ /* This functionality is not implemented yet */
|
|
|
d86cbb |
+ public void abort(Executor executor) throws SQLException {
|
|
|
d86cbb |
+ throw new SQLFeatureNotSupportedException();
|
|
|
d86cbb |
+ }
|
|
|
d86cbb |
+
|
|
|
d86cbb |
+ /* This functionality is not implemented yet */
|
|
|
d86cbb |
+ public String getSchema() throws SQLException {
|
|
|
d86cbb |
+ throw new SQLFeatureNotSupportedException();
|
|
|
d86cbb |
+ }
|
|
|
d86cbb |
+
|
|
|
d86cbb |
+ /* This functionality is not implemented yet */
|
|
|
d86cbb |
+ public void setSchema(String schema) throws SQLException {
|
|
|
d86cbb |
+ throw new SQLFeatureNotSupportedException();
|
|
|
d86cbb |
+ }
|
|
|
d86cbb |
}
|
|
|
d86cbb |
+
|
|
|
d86cbb |
diff -u -r dbcp/PoolingDataSource.java /home/tester/Desktop/apache-commons-dbcp/f17/commons-dbcp-1.4-src/src/java/org/apache/commons/dbcp/PoolingDataSource.java
|
|
|
d86cbb |
--- src/java/org/apache/commons/dbcp/PoolingDataSource.java 2010-02-07 17:59:20.000000000 +0100
|
|
|
d86cbb |
+++ src/java/org/apache/commons/dbcp/PoolingDataSource.java 2012-02-23 09:11:31.873616194 +0100
|
|
|
d86cbb |
@@ -23,10 +23,12 @@
|
|
|
d86cbb |
import java.sql.DatabaseMetaData;
|
|
|
d86cbb |
import java.sql.PreparedStatement;
|
|
|
d86cbb |
import java.sql.SQLException;
|
|
|
d86cbb |
+import java.sql.SQLFeatureNotSupportedException;
|
|
|
d86cbb |
import java.sql.SQLWarning;
|
|
|
d86cbb |
import java.sql.Statement;
|
|
|
d86cbb |
import java.util.Map;
|
|
|
d86cbb |
import java.util.NoSuchElementException;
|
|
|
d86cbb |
+import java.util.logging.Logger;
|
|
|
d86cbb |
|
|
|
d86cbb |
import javax.sql.DataSource;
|
|
|
d86cbb |
|
|
|
d86cbb |
@@ -437,4 +439,9 @@
|
|
|
d86cbb |
}
|
|
|
d86cbb |
}
|
|
|
d86cbb |
}
|
|
|
d86cbb |
+
|
|
|
d86cbb |
+ /* This functionality is not implemented yet */
|
|
|
d86cbb |
+ public Logger getParentLogger() throws SQLFeatureNotSupportedException {
|
|
|
d86cbb |
+ throw new SQLFeatureNotSupportedException();
|
|
|
d86cbb |
+ }
|
|
|
d86cbb |
}
|
|
|
d86cbb |
diff -u -r dbcp/PoolingDriver.java /home/tester/Desktop/apache-commons-dbcp/f17/commons-dbcp-1.4-src/src/java/org/apache/commons/dbcp/PoolingDriver.java
|
|
|
d86cbb |
--- src/java/org/apache/commons/dbcp/PoolingDriver.java 2010-02-07 17:59:20.000000000 +0100
|
|
|
d86cbb |
+++ src/java/org/apache/commons/dbcp/PoolingDriver.java 2012-02-23 09:14:12.193601726 +0100
|
|
|
d86cbb |
@@ -27,6 +27,7 @@
|
|
|
d86cbb |
import java.sql.DriverPropertyInfo;
|
|
|
d86cbb |
import java.sql.PreparedStatement;
|
|
|
d86cbb |
import java.sql.SQLException;
|
|
|
d86cbb |
+import java.sql.SQLFeatureNotSupportedException;
|
|
|
d86cbb |
import java.sql.SQLWarning;
|
|
|
d86cbb |
import java.sql.Statement;
|
|
|
d86cbb |
import java.util.HashMap;
|
|
|
d86cbb |
@@ -34,6 +35,7 @@
|
|
|
d86cbb |
import java.util.NoSuchElementException;
|
|
|
d86cbb |
import java.util.Properties;
|
|
|
d86cbb |
import java.util.Set;
|
|
|
d86cbb |
+import java.util.logging.Logger;
|
|
|
d86cbb |
|
|
|
d86cbb |
import org.apache.commons.jocl.JOCLContentHandler;
|
|
|
d86cbb |
import org.apache.commons.pool.ObjectPool;
|
|
|
d86cbb |
@@ -496,4 +498,10 @@
|
|
|
d86cbb |
}
|
|
|
d86cbb |
}
|
|
|
d86cbb |
}
|
|
|
d86cbb |
+
|
|
|
d86cbb |
+ /* This functionality is not implemented yet */
|
|
|
d86cbb |
+ public Logger getParentLogger() throws SQLFeatureNotSupportedException {
|
|
|
d86cbb |
+ throw new SQLFeatureNotSupportedException();
|
|
|
d86cbb |
+ }
|
|
|
d86cbb |
+
|
|
|
d86cbb |
}
|