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