diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 42ed3f0..0000000 --- a/.gitignore +++ /dev/null @@ -1 +0,0 @@ -/commons-dbcp-1.4-src.tar.gz diff --git a/apache-commons-dbcp.spec b/apache-commons-dbcp.spec deleted file mode 100644 index 5392149..0000000 --- a/apache-commons-dbcp.spec +++ /dev/null @@ -1,167 +0,0 @@ -%global base_name dbcp -%global short_name commons-%{base_name} - -Name: apache-%{short_name} -Version: 1.4 -Release: 32%{?dist} -Summary: Apache Commons DataBase Pooling Package -License: ASL 2.0 -URL: http://commons.apache.org/%{base_name}/ -BuildArch: noarch - -Source0: http://www.apache.org/dist/commons/%{base_name}/source/%{short_name}-%{version}-src.tar.gz - -Patch0: jdbc41.patch - -BuildRequires: maven-local -BuildRequires: mvn(commons-logging:commons-logging) -BuildRequires: mvn(commons-pool:commons-pool) -BuildRequires: mvn(junit:junit) -BuildRequires: mvn(org.apache.commons:commons-parent:pom:) -BuildRequires: mvn(org.apache.geronimo.specs:geronimo-jta_1.1_spec) -BuildRequires: mvn(org.apache.maven.plugins:maven-assembly-plugin) - -%description -Many Apache projects support interaction with a relational database. Creating a -new connection for each user can be time consuming (often requiring multiple -seconds of clock time), in order to perform a database transaction that might -take milliseconds. Opening a connection per user can be unfeasible in a -publicly-hosted Internet application where the number of simultaneous users can -be very large. Accordingly, developers often wish to share a "pool" of open -connections between all of the application's current users. The number of users -actually performing a request at any given time is usually a very small -percentage of the total number of active users, and during request processing -is the only time that a database connection is required. The application itself -logs into the DBMS, and handles any user account issues internally. - -%package javadoc -Summary: Javadoc for %{name} - -%description javadoc -This package contains the API documentation for %{name}. - -%prep -%setup -q -n %{short_name}-%{version}-src -iconv -f iso8859-1 -t utf-8 RELEASE-NOTES.txt > RELEASE-NOTES.txt.conv && mv -f RELEASE-NOTES.txt.conv RELEASE-NOTES.txt - -%patch0 - -%mvn_alias : org.apache.commons:%{short_name} -%mvn_file : %{short_name} %{name} - -%build -# Skip tests, tomcat:naming-java and tomcat:naming-common not available -%mvn_build -f -- -Dcommons.osgi.symbolicName=org.apache.commons.dbcp -Dmaven.compiler.source=1.8 -Dmaven.compiler.target=1.8 - -%install -%mvn_install - -%files -f .mfiles -%doc README.txt RELEASE-NOTES.txt -%license LICENSE.txt NOTICE.txt - -%files javadoc -f .mfiles-javadoc -%license LICENSE.txt NOTICE.txt - -%changelog -* Sat Aug 01 2020 Fedora Release Engineering - 1.4-32 -- Second attempt - Rebuilt for - https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - -* Mon Jul 27 2020 Fedora Release Engineering - 1.4-31 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - -* Fri Jul 10 2020 Jiri Vanek - 1.4-30 -- Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11 - -* Tue Jan 28 2020 Fedora Release Engineering - 1.4-29 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild - -* Sat Nov 30 2019 Mat Booth - 1.4-28 -- Set compiler source and target to fix FTBFS - -* Wed Jul 24 2019 Fedora Release Engineering - 1.4-27 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild - -* Thu Feb 07 2019 Mat Booth - 1.4-26 -- Rebuild to regenerate OSGi metadata - -* Thu Jan 31 2019 Fedora Release Engineering - 1.4-25 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - -* Thu Jul 12 2018 Fedora Release Engineering - 1.4-24 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - -* Wed Feb 07 2018 Fedora Release Engineering - 1.4-23 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - -* Wed Jul 26 2017 Fedora Release Engineering - 1.4-22 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild - -* Fri Feb 10 2017 Fedora Release Engineering - 1.4-21 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild - -* Wed Feb 03 2016 Fedora Release Engineering - 1.4-20 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild - -* Wed Jun 17 2015 Fedora Release Engineering - 1.4-19 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild - -* Wed Mar 25 2015 Mikolaj Izdebski - 1.4-18 -- Remove unused depmap -- Mavenize build-requires - -* Tue Oct 14 2014 Mikolaj Izdebski - 1.4-17 -- Remove legacy Obsoletes/Provides for jakarta-commons - -* Sat Jun 07 2014 Fedora Release Engineering - 1.4-16 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild - -* Tue Mar 04 2014 Stanislav Ochotnicky - 1.4-15 -- Use Requires: java-headless rebuild (#1067528) - -* Thu Aug 8 2013 Stanislav Ochotnicky - 1.4-14 -- Update to latest packaging guidelines - -* Sat Aug 03 2013 Fedora Release Engineering - 1.4-13 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild - -* Wed Feb 13 2013 Fedora Release Engineering - 1.4-12 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild - -* Wed Feb 06 2013 Java SIG - 1.4-11 -- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild -- Replace maven BuildRequires with maven-local - -* Wed Jul 18 2012 Fedora Release Engineering - 1.4-10 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild - -* Thu Feb 23 2012 Pavel Tisnovsky - 1.4-9 -- Make this package independent of OpenJDK6 (it's buildable on OpenJDK7) - -* Thu Jan 12 2012 Fedora Release Engineering - 1.4-8 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild - -* Thu Dec 1 2011 Stanislav Ochotnicky - 1.4-7 -- Build with maven 3 -- Fixes according to latest guidelines - -* Mon Feb 07 2011 Fedora Release Engineering - 1.4-6 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild - -* Tue Nov 9 2010 Chris Spike 1.4-5 -- Removed maven* BRs in favour of apache-commons-parent -- Added deprecated groupId to depmap for compatibility reasons -- Removed commons-pool from custom depmap - -* Wed Oct 27 2010 Chris Spike 1.4-4 -- Added depmap entry to find commons-pool.jar - -* Wed Oct 27 2010 Chris Spike 1.4-3 -- Added BR apache-commons-pool - -* Mon Oct 18 2010 Chris Spike 1.4-2 -- Removed Epoch - -* Mon Oct 4 2010 Chris Spike 1.4-1 -- Rename and rebase from jakarta-commons-dbcp diff --git a/dead.package b/dead.package new file mode 100644 index 0000000..5204a84 --- /dev/null +++ b/dead.package @@ -0,0 +1 @@ +Orphaned for 6+ weeks diff --git a/jdbc41.patch b/jdbc41.patch deleted file mode 100644 index 446ad44..0000000 --- a/jdbc41.patch +++ /dev/null @@ -1,440 +0,0 @@ -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 ---- src/java/org/apache/commons/dbcp/BasicDataSource.java 2010-02-07 17:59:20.000000000 +0100 -+++ src/java/org/apache/commons/dbcp/BasicDataSource.java 2012-02-23 09:11:04.481618663 +0100 -@@ -24,10 +24,12 @@ - import java.util.ArrayList; - import java.util.Iterator; - import java.util.Collections; -+import java.util.logging.Logger; - import java.sql.Connection; - import java.sql.Driver; - import java.sql.DriverManager; - import java.sql.SQLException; -+import java.sql.SQLFeatureNotSupportedException; - import javax.sql.DataSource; - - import org.apache.commons.pool.KeyedObjectPoolFactory; -@@ -1579,4 +1581,10 @@ - logWriter.println(message); - } - } -+ -+ /* This functionality is not implemented yet */ -+ public Logger getParentLogger() throws SQLFeatureNotSupportedException { -+ throw new SQLFeatureNotSupportedException(); -+ } -+ - } -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 ---- src/java/org/apache/commons/dbcp/cpdsadapter/DriverAdapterCPDS.java 2010-02-07 17:59:19.000000000 +0100 -+++ src/java/org/apache/commons/dbcp/cpdsadapter/DriverAdapterCPDS.java 2012-02-23 09:13:29.490605580 +0100 -@@ -19,10 +19,12 @@ - - import java.util.Hashtable; - import java.util.Properties; -+import java.util.logging.Logger; - import java.io.PrintWriter; - import java.io.Serializable; - import java.sql.DriverManager; - import java.sql.SQLException; -+import java.sql.SQLFeatureNotSupportedException; - import javax.sql.PooledConnection; - import javax.sql.ConnectionPoolDataSource; - import javax.naming.Name; -@@ -719,4 +721,10 @@ - { - _maxPreparedStatements = maxPreparedStatements; - } -+ -+ /* This functionality is not implemented yet */ -+ public Logger getParentLogger() throws SQLFeatureNotSupportedException { -+ throw new SQLFeatureNotSupportedException(); -+ } -+ - } -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 ---- src/java/org/apache/commons/dbcp/datasources/PerUserPoolDataSource.java 2010-02-07 17:59:20.000000000 +0100 -+++ src/java/org/apache/commons/dbcp/datasources/PerUserPoolDataSource.java 2012-02-23 09:12:13.582612432 +0100 -@@ -21,10 +21,12 @@ - import java.io.ObjectInputStream; - import java.sql.Connection; - import java.sql.SQLException; -+import java.sql.SQLFeatureNotSupportedException; - import java.util.HashMap; - import java.util.Iterator; - import java.util.Map; - import java.util.NoSuchElementException; -+import java.util.logging.Logger; - - import javax.naming.NamingException; - import javax.naming.Reference; -@@ -561,4 +563,10 @@ - CPDSConnectionFactory mgr = (CPDSConnectionFactory) managers.get(key); - return mgr == null ? null : (GenericObjectPool) mgr.getPool(); - } -+ -+ /* This functionality is not implemented yet */ -+ public Logger getParentLogger() throws SQLFeatureNotSupportedException { -+ throw new SQLFeatureNotSupportedException(); -+ } -+ - } -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 ---- src/java/org/apache/commons/dbcp/datasources/SharedPoolDataSource.java 2010-02-07 17:59:20.000000000 +0100 -+++ src/java/org/apache/commons/dbcp/datasources/SharedPoolDataSource.java 2012-02-23 09:14:10.326601896 +0100 -@@ -21,6 +21,8 @@ - import java.io.ObjectInputStream; - import java.sql.Connection; - import java.sql.SQLException; -+import java.sql.SQLFeatureNotSupportedException; -+import java.util.logging.Logger; - - import javax.naming.NamingException; - import javax.naming.Reference; -@@ -269,5 +271,11 @@ - throw new IOException("NamingException: " + e); - } - } -+ -+ /* This functionality is not implemented yet */ -+ public Logger getParentLogger() throws SQLFeatureNotSupportedException { -+ throw new SQLFeatureNotSupportedException(); -+ } -+ - } - -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 ---- src/java/org/apache/commons/dbcp/DelegatingCallableStatement.java 2010-02-07 17:59:20.000000000 +0100 -+++ src/java/org/apache/commons/dbcp/DelegatingCallableStatement.java 2012-02-23 09:17:35.805583354 +0100 -@@ -37,6 +37,7 @@ - import java.sql.RowId; - import java.sql.SQLXML; - /* JDBC_4_ANT_KEY_END */ -+import java.sql.SQLFeatureNotSupportedException; - - /** - * A base delegating implementation of {@link CallableStatement}. -@@ -661,4 +662,14 @@ - } - } - /* JDBC_4_ANT_KEY_END */ -+ -+ /* This functionality is not implemented yet */ -+ public T getObject(String columnLabel, Class type) throws SQLException { -+ throw new SQLFeatureNotSupportedException(); -+ } -+ -+ /* This functionality is not implemented yet */ -+ public T getObject(int columnIndex, Class type) throws SQLException { -+ throw new SQLFeatureNotSupportedException(); -+ } - } -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 ---- src/java/org/apache/commons/dbcp/DelegatingConnection.java 2010-02-07 17:59:20.000000000 +0100 -+++ src/java/org/apache/commons/dbcp/DelegatingConnection.java 2012-02-23 09:04:56.488651873 +0100 -@@ -27,6 +27,7 @@ - import java.util.Iterator; - import java.util.List; - import java.util.Map; -+import java.util.concurrent.Executor; - import java.sql.ResultSet; - /* JDBC_4_ANT_KEY_BEGIN */ - import java.sql.Array; -@@ -40,6 +41,7 @@ - import java.util.Collections; - import java.util.Properties; - /* JDBC_4_ANT_KEY_END */ -+import java.sql.SQLFeatureNotSupportedException; - - /** - * A base delegating implementation of {@link Connection}. -@@ -678,5 +680,31 @@ - return null; - } - } --/* JDBC_4_ANT_KEY_END */ -+ /* JDBC_4_ANT_KEY_END */ -+ -+ /* This functionality is not implemented yet */ -+ public int getNetworkTimeout() throws SQLException { -+ throw new SQLFeatureNotSupportedException(); -+ } -+ -+ /* This functionality is not implemented yet */ -+ public void setNetworkTimeout(Executor executor, int milliseconds) throws SQLException { -+ throw new SQLFeatureNotSupportedException(); -+ } -+ -+ /* This functionality is not implemented yet */ -+ public void abort(Executor executor) throws SQLException { -+ throw new SQLFeatureNotSupportedException(); -+ } -+ -+ /* This functionality is not implemented yet */ -+ public String getSchema() throws SQLException { -+ throw new SQLFeatureNotSupportedException(); -+ } -+ -+ /* This functionality is not implemented yet */ -+ public void setSchema(String schema) throws SQLException { -+ throw new SQLFeatureNotSupportedException(); -+ } - } -+ -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 ---- src/java/org/apache/commons/dbcp/DelegatingDatabaseMetaData.java 2010-02-07 17:59:20.000000000 +0100 -+++ src/java/org/apache/commons/dbcp/DelegatingDatabaseMetaData.java 2012-02-23 09:20:38.181566898 +0100 -@@ -24,6 +24,7 @@ - import java.sql.RowIdLifetime; - /* JDBC_4_ANT_KEY_END */ - import java.sql.SQLException; -+import java.sql.SQLFeatureNotSupportedException; - - /** - * A base delegating implementation of {@link DatabaseMetaData}. -@@ -1208,4 +1209,13 @@ - - /* JDBC_4_ANT_KEY_END */ - -+ /* This functionality is not implemented yet */ -+ public boolean generatedKeyAlwaysReturned() throws SQLException { -+ throw new SQLFeatureNotSupportedException(); -+ } -+ -+ /* This functionality is not implemented yet */ -+ public ResultSet getPseudoColumns(String catalog, String schemaPattern, String tableNamePattern, String columnNamePattern) throws SQLException { -+ throw new SQLFeatureNotSupportedException(); -+ } - } -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 ---- src/java/org/apache/commons/dbcp/DelegatingPreparedStatement.java 2010-02-07 17:59:20.000000000 +0100 -+++ src/java/org/apache/commons/dbcp/DelegatingPreparedStatement.java 2012-02-23 09:04:37.793653560 +0100 -@@ -34,6 +34,7 @@ - import java.sql.RowId; - import java.sql.SQLXML; - /* JDBC_4_ANT_KEY_END */ -+import java.sql.SQLFeatureNotSupportedException; - - /** - * A base delegating implementation of {@link PreparedStatement}. -@@ -402,4 +403,15 @@ - } - } - /* JDBC_4_ANT_KEY_END */ -+ -+ /* This functionality is not implemented yet */ -+ public boolean isCloseOnCompletion() throws SQLException { -+ throw new SQLFeatureNotSupportedException(); -+ } -+ -+ /* This functionality is not implemented yet */ -+ public void closeOnCompletion() throws SQLException { -+ throw new SQLFeatureNotSupportedException(); -+ } -+ - } -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 ---- src/java/org/apache/commons/dbcp/DelegatingResultSet.java 2010-02-07 17:59:20.000000000 +0100 -+++ src/java/org/apache/commons/dbcp/DelegatingResultSet.java 2012-02-23 09:17:19.905584789 +0100 -@@ -40,6 +40,7 @@ - import java.sql.RowId; - import java.sql.SQLXML; - /* JDBC_4_ANT_KEY_END */ -+import java.sql.SQLFeatureNotSupportedException; - - /** - * A base delegating implementation of {@link ResultSet}. -@@ -1079,4 +1080,14 @@ - } - } - /* JDBC_4_ANT_KEY_END */ -+ -+ /* This functionality is not implemented yet */ -+ public T getObject(String columnLabel, Class type) throws SQLException { -+ throw new SQLFeatureNotSupportedException(); -+ } -+ -+ /* This functionality is not implemented yet */ -+ public T getObject(int columnIndex, Class type) throws SQLException { -+ throw new SQLFeatureNotSupportedException(); -+ } - } -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 ---- src/java/org/apache/commons/dbcp/DelegatingStatement.java 2010-02-07 17:59:20.000000000 +0100 -+++ src/java/org/apache/commons/dbcp/DelegatingStatement.java 2012-02-23 09:04:41.171653252 +0100 -@@ -22,6 +22,7 @@ - import java.sql.SQLException; - import java.sql.SQLWarning; - import java.sql.Statement; -+import java.sql.SQLFeatureNotSupportedException; - import java.util.List; - - /** -@@ -386,4 +387,15 @@ - } - } - /* JDBC_4_ANT_KEY_END */ -+ -+ /* This functionality is not implemented yet */ -+ public boolean isCloseOnCompletion() throws SQLException { -+ throw new SQLFeatureNotSupportedException(); -+ } -+ -+ /* This functionality is not implemented yet */ -+ public void closeOnCompletion() throws SQLException { -+ throw new SQLFeatureNotSupportedException(); -+ } -+ - } -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 ---- src/java/org/apache/commons/dbcp/PoolableCallableStatement.java 2010-02-07 17:59:20.000000000 +0100 -+++ src/java/org/apache/commons/dbcp/PoolableCallableStatement.java 2012-02-23 09:17:44.514582568 +0100 -@@ -21,6 +21,7 @@ - import java.sql.Connection; - import java.sql.ResultSet; - import java.sql.SQLException; -+import java.sql.SQLFeatureNotSupportedException; - import java.util.List; - - import org.apache.commons.pool.KeyedObjectPool; -@@ -123,4 +124,13 @@ - super.passivate(); - } - -+ /* This functionality is not implemented yet */ -+ public T getObject(String columnLabel, Class type) throws SQLException { -+ throw new SQLFeatureNotSupportedException(); -+ } -+ -+ /* This functionality is not implemented yet */ -+ public T getObject(int columnIndex, Class type) throws SQLException { -+ throw new SQLFeatureNotSupportedException(); -+ } - } -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 ---- src/java/org/apache/commons/dbcp/PoolablePreparedStatement.java 2010-02-07 17:59:20.000000000 +0100 -+++ src/java/org/apache/commons/dbcp/PoolablePreparedStatement.java 2012-02-23 09:16:01.670591848 +0100 -@@ -21,6 +21,7 @@ - import java.sql.PreparedStatement; - import java.sql.ResultSet; - import java.sql.SQLException; -+import java.sql.SQLFeatureNotSupportedException; - import java.util.List; - - import org.apache.commons.pool.KeyedObjectPool; -@@ -137,4 +138,14 @@ - super.passivate(); - } - -+ /* This functionality is not implemented yet */ -+ public boolean isCloseOnCompletion() throws SQLException { -+ throw new SQLFeatureNotSupportedException(); -+ } -+ -+ /* This functionality is not implemented yet */ -+ public void closeOnCompletion() throws SQLException { -+ throw new SQLFeatureNotSupportedException(); -+ } -+ - } -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 ---- src/java/org/apache/commons/dbcp/PoolingConnection.java 2010-02-07 17:59:20.000000000 +0100 -+++ src/java/org/apache/commons/dbcp/PoolingConnection.java 2012-02-23 09:08:08.716634524 +0100 -@@ -21,8 +21,10 @@ - import java.sql.Connection; - import java.sql.PreparedStatement; - import java.sql.SQLException; -+import java.sql.SQLFeatureNotSupportedException; - - import java.util.NoSuchElementException; -+import java.util.concurrent.Executor; - - import org.apache.commons.pool.KeyedObjectPool; - import org.apache.commons.pool.KeyedPoolableObjectFactory; -@@ -455,4 +457,30 @@ - return buf.toString(); - } - } -+ -+ /* This functionality is not implemented yet */ -+ public int getNetworkTimeout() throws SQLException { -+ throw new SQLFeatureNotSupportedException(); -+ } -+ -+ /* This functionality is not implemented yet */ -+ public void setNetworkTimeout(Executor executor, int milliseconds) throws SQLException { -+ throw new SQLFeatureNotSupportedException(); -+ } -+ -+ /* This functionality is not implemented yet */ -+ public void abort(Executor executor) throws SQLException { -+ throw new SQLFeatureNotSupportedException(); -+ } -+ -+ /* This functionality is not implemented yet */ -+ public String getSchema() throws SQLException { -+ throw new SQLFeatureNotSupportedException(); -+ } -+ -+ /* This functionality is not implemented yet */ -+ public void setSchema(String schema) throws SQLException { -+ throw new SQLFeatureNotSupportedException(); -+ } - } -+ -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 ---- src/java/org/apache/commons/dbcp/PoolingDataSource.java 2010-02-07 17:59:20.000000000 +0100 -+++ src/java/org/apache/commons/dbcp/PoolingDataSource.java 2012-02-23 09:11:31.873616194 +0100 -@@ -23,10 +23,12 @@ - import java.sql.DatabaseMetaData; - import java.sql.PreparedStatement; - import java.sql.SQLException; -+import java.sql.SQLFeatureNotSupportedException; - import java.sql.SQLWarning; - import java.sql.Statement; - import java.util.Map; - import java.util.NoSuchElementException; -+import java.util.logging.Logger; - - import javax.sql.DataSource; - -@@ -437,4 +439,9 @@ - } - } - } -+ -+ /* This functionality is not implemented yet */ -+ public Logger getParentLogger() throws SQLFeatureNotSupportedException { -+ throw new SQLFeatureNotSupportedException(); -+ } - } -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 ---- src/java/org/apache/commons/dbcp/PoolingDriver.java 2010-02-07 17:59:20.000000000 +0100 -+++ src/java/org/apache/commons/dbcp/PoolingDriver.java 2012-02-23 09:14:12.193601726 +0100 -@@ -27,6 +27,7 @@ - import java.sql.DriverPropertyInfo; - import java.sql.PreparedStatement; - import java.sql.SQLException; -+import java.sql.SQLFeatureNotSupportedException; - import java.sql.SQLWarning; - import java.sql.Statement; - import java.util.HashMap; -@@ -34,6 +35,7 @@ - import java.util.NoSuchElementException; - import java.util.Properties; - import java.util.Set; -+import java.util.logging.Logger; - - import org.apache.commons.jocl.JOCLContentHandler; - import org.apache.commons.pool.ObjectPool; -@@ -496,4 +498,10 @@ - } - } - } -+ -+ /* This functionality is not implemented yet */ -+ public Logger getParentLogger() throws SQLFeatureNotSupportedException { -+ throw new SQLFeatureNotSupportedException(); -+ } -+ - } diff --git a/sources b/sources deleted file mode 100644 index e75cf33..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -e9f599c99baefeeb0e192030c5d19d5d commons-dbcp-1.4-src.tar.gz