Author: markt
Date: Thu Feb 27 19:39:01 2014
New Revision: 4529
Log:
Upload DBCP 2.0 RC1 for voting
Added:
dev/commons/dbcp/
dev/commons/dbcp/RELEASE-NOTES.txt (with props)
dev/commons/dbcp/binaries/
dev/commons/dbcp/binaries/commons-dbcp2-2.0-bin.tar.gz (with props)
dev/commons/dbcp/binaries/commons-dbcp2-2.0-bin.tar.gz.asc
dev/commons/dbcp/binaries/commons-dbcp2-2.0-bin.tar.gz.md5
dev/commons/dbcp/binaries/commons-dbcp2-2.0-bin.zip (with props)
dev/commons/dbcp/binaries/commons-dbcp2-2.0-bin.zip.asc
dev/commons/dbcp/binaries/commons-dbcp2-2.0-bin.zip.md5
dev/commons/dbcp/source/
dev/commons/dbcp/source/commons-dbcp2-2.0-src.tar.gz (with props)
dev/commons/dbcp/source/commons-dbcp2-2.0-src.tar.gz.asc
dev/commons/dbcp/source/commons-dbcp2-2.0-src.tar.gz.md5
dev/commons/dbcp/source/commons-dbcp2-2.0-src.zip (with props)
dev/commons/dbcp/source/commons-dbcp2-2.0-src.zip.asc
dev/commons/dbcp/source/commons-dbcp2-2.0-src.zip.md5
Added: dev/commons/dbcp/RELEASE-NOTES.txt
==============================================================================
--- dev/commons/dbcp/RELEASE-NOTES.txt (added)
+++ dev/commons/dbcp/RELEASE-NOTES.txt Thu Feb 27 19:39:01 2014
@@ -0,0 +1,108 @@
+ Apache Apache Commons DBCP
+ Version 2.0
+ RELEASE NOTES
+
+The Apache Commons DBCP team is pleased to announce the release of Apache
Apache Commons DBCP 2.0
+
+Apache Commons DBCP software implements Database Connection Pooling
+
+This release includes new features as well as bug fixes and enhancements.
+Version 2.0.x supports JDBC 4.1, so requires Java 7.
+
+The Java package name has been changed from 'org.apache.commons.dbcp' to
'org.apache.commons.dbcp2'.
+Also the Maven groupId is now 'org.apache.commons' and the artifactId is
'commons-dbcp2'
+These changes are necessary because the API is not strictly binary compatible
with the 1.x releases.
+To convert from the earlier releases, update the package name in imports,
update the dependencies and recompile.
+There may be a few other changes to be made (TBA)
+
+Java 6 users should use DBCP 1.4.x which supports JDBC 4.
+Java 1.4 and Java 5 users should use DBCP 1.3.x which supports JDBC 3.
+Applications running under Java 7 should use DBCP 2.0.x.
+
+Changes in this version include:
+
+New features:
+o Provide a new option (cacheState) to cache current values of
autoCommit
+ and readOnly so database queries are not required for every call
to the
+ associated getters. This option is enabled by default.
+o DBCP-292: BasicDataSource instances are now exposed via JMX. All the
configuration
+ properties are available as is the connection pool and the
statement
+ pools (if statement pooling is enabled).
+o DBCP-368: Expose the new Pool 2 property evictionPolicyClassName to enable
more
+ sophisticated eviction strategies to be used.
+o DBCP-406: Add support for pooling PreparedStatements that use
auto-generated keys. Thanks to Steeve Beroard.
+o DBCP-177: Enable DBCP to work with a SecurityManager such that only DBCP
needs to
+ be granted the necessary permissions to communicate with the
database.
+o DBCP-219: Register pooled connections with JMX so that they may be forcibly
closed
+ via JMX if required.
+o DBCP-373: Modify SharedPoolDataSource and PerUserPoolDataSource to expose
all of
+ the configuration properties of the underlying connection
pool(s). This
+ represents a significant refactoring of these classes and a
number of
+ property names have changed as a result.
+o DBCP-351: Provide an option to control if autoCommit is always set to true
when a
+ connection is returned to the connection pool.
+o DBCP-399: Provide an option to control if rollback is called when a
connection is
+ returned to the poll with autoCommit disabled.
+o DBCP-340: Provide an option to set the default query timeout.
+o 249: Add support for validation testing database connections on creation.
+
+Fixed Bugs:
+o DBCP-411: BasicManagedDataSource - unregister from JMX on close().
+o DBCP-154: Log validation failures of poolable connections.
+o DBCP-403: DelegatingStatement.close() fails with NPE if statement is null
+o DBCP-322: CPDSConnectionFactory.validateObject(Object) ignores Throwable.
+o DBCP-300: Removed unnecessary synchronisation in
BasicDataSource#createDataSource.
+o DBCP-384: Fix threading issues with accessToUnderlyingConnectionAllowed
attribute
+ of PoolingDriver which is used to support unit testing.
+o DBCP-376: Fix thread safety issues in the SharedPoolDataSource and the
+ PerUserPoolDataSource. Thanks to Dave Oxley.
+o DBCP-382: Allow accessToUnderlyingConnectionAllowed to be configured when
+ configuration takes place via JNDI in a JavaEE container. Thanks
to Stefan Rempfer.
+o DBCP-369: Fix threading issue when using multiple instances of the
+ SharedPoolDataSource concurrently. Thanks to Michael Pradel.
+o DBCP-391: Ensure that the close state of a pooled connection and the
underlying
+ connection is consistent when the underlying connection is closed
as a
+ result of an error condition.
+o DBCP-404: Make all mutable fields private.
+o DBCP-364: Return BasicDataSource rather than DataSource from
+ BasicDataSourceFactory so a cast is not required to use
BasicDataSource
+ specific methods.
+o DBCP-358: The equals() implementations of the DelegatingXxx classes are now
+ symmetric. There are some important API changes underlying this
fix.
+ Firstly, two DelegatingXxx instances are no longer considered
equal if
+ they have the same innermost delegate. Secondly, a DelegatingXxx
+ instance is not considered equal to its innermost delegate. The
+ getInnermostDelegateInternal() method has been made public (but
remains
+ part of the internal API) to allow classes extending this
implementation
+ to access the innermost delegate when required.
+o DBCP-180: Enable JDBC resources that are no longer referenced by client
code to be
+ eligible for garbage collection.
+o DBCP-410: Correct path to Javadoc overview in build.xml. Thanks to Andreas
Sturmlechner.
+o DBCP-234: The default values for readOnly, autoCommit and
transactionIsolation are
+ now taken from the JDBC driver. No calls to setReadOnly(),
+ setAutoCommit() or setTransactionIsolation() will be made for a
newly
+ borrowed connection unless a default is explicitly configured and
the
+ connection is currently using a different setting.
+o Connection.isValid() should not throw an SQLException if the
connection
+ is closed.
+o DBCP-357: Use Connection.isValid() to validate connections unless a
validation
+ query is explicitly configured. Note that this means it is no
longer
+ necessary for a validation query to be specified in order for
validation
+ to take place. When testing with Oracle, this resulted in database
+ validation being approximately 7 times faster.
+
+Changes:
+o The Java package name has been changed from
org.apache.commons.dbcp to
+ org.apache.commons.dbcp2.
+o Update to Commons Pool 2 (based on java.util.concurrent) to
provide
+ pooling functionality.
+o Updated source code for Java 1.6 (added @Override & @Deprecated
+ annotations).
+o Removed JOCL support.
+o DBCP-143: Remove deprecated SQLNestedException.
+
+
+For complete information on Apache Commons DBCP, including instructions on how
to submit bug reports,
+patches, or suggestions for improvement, see the Apache Apache Commons DBCP
website:
+
+http://commons.apache.org/proper/commons-dbcp/
\ No newline at end of file
Propchange: dev/commons/dbcp/RELEASE-NOTES.txt
------------------------------------------------------------------------------
svn:eol-style = native
Added: dev/commons/dbcp/binaries/commons-dbcp2-2.0-bin.tar.gz
==============================================================================
Binary file - no diff available.
Propchange: dev/commons/dbcp/binaries/commons-dbcp2-2.0-bin.tar.gz
------------------------------------------------------------------------------
svn:mime-type = application/x-gzip
Added: dev/commons/dbcp/binaries/commons-dbcp2-2.0-bin.tar.gz.asc
==============================================================================
--- dev/commons/dbcp/binaries/commons-dbcp2-2.0-bin.tar.gz.asc (added)
+++ dev/commons/dbcp/binaries/commons-dbcp2-2.0-bin.tar.gz.asc Thu Feb 27
19:39:01 2014
@@ -0,0 +1,17 @@
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.9 (MingW32)
+
+iQIcBAABAgAGBQJTD1tYAAoJEBDAHFovYFnnZ6QQAOrxtMBsVksUiIA0j1GXgS8B
+Jxx6kYks4USn4ig6cU7bj19sCKxLhVvFWCcBSQfr5Oz7BqH8kRVRQcOVacACsfCK
+N63Byxtwz7ho4XUoSlC2vGQkJSiMJ32CGozZpn7McJCZD2j+LGsn3P7h8kO2ssE8
+excPCDiqFWq9UW4cXD2wj8XjOhVw083rRYi3G7QjAFT44+x5Y1pDZwKZ4lIBWsEp
+Sw8q+feFCJHegU+4bpRll+J82pfCWOYx3SNqHsynDaRhB088VFkXLO8nMFvmPlAZ
+JQInUTEZ2UiucccxD7lcZLyrwbqGh0Hng4ktBX8u8aBEuJeY2ylhbn4nYH9ieWwd
+9kMx83fYEJ9+r+T/LuktC9C7HGRNzuiEPIDsebFHlRHeO9rcY2W6O8IpOiH+n4jX
+V/IwcmXtjYRRY6HwNoQCCMQemRlagNlsljrMxXCp036rKr8xHu3C3oiaNbzX64Tw
+VnbcvdPkrqrgO5SkSvpMaCiqBFd7UmaQnwKCkhZVqUGUq8Pts2IlHRqn52qGqacQ
+IFoUaw9T5P77eCPN+RSws5uhLgRfZrTB4kN9mG7L5Qwo4MencqNTFc7c8zP7deYs
+nFuIV/Qypb2HNLK3tm4wMibKLxU28HkEwgQLllAmhb0wD0D8rrj0hJYC2QswiIpH
+WAAdLu05/hYAUiaSAbKJ
+=lIEw
+-----END PGP SIGNATURE-----
Added: dev/commons/dbcp/binaries/commons-dbcp2-2.0-bin.tar.gz.md5
==============================================================================
--- dev/commons/dbcp/binaries/commons-dbcp2-2.0-bin.tar.gz.md5 (added)
+++ dev/commons/dbcp/binaries/commons-dbcp2-2.0-bin.tar.gz.md5 Thu Feb 27
19:39:01 2014
@@ -0,0 +1 @@
+97b820e25193b9ecae9e8339acb89fee *commons-dbcp2-2.0-bin.tar.gz
Added: dev/commons/dbcp/binaries/commons-dbcp2-2.0-bin.zip
==============================================================================
Binary file - no diff available.
Propchange: dev/commons/dbcp/binaries/commons-dbcp2-2.0-bin.zip
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: dev/commons/dbcp/binaries/commons-dbcp2-2.0-bin.zip.asc
==============================================================================
--- dev/commons/dbcp/binaries/commons-dbcp2-2.0-bin.zip.asc (added)
+++ dev/commons/dbcp/binaries/commons-dbcp2-2.0-bin.zip.asc Thu Feb 27 19:39:01
2014
@@ -0,0 +1,17 @@
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.9 (MingW32)
+
+iQIcBAABAgAGBQJTD1tYAAoJEBDAHFovYFnnIEkP/2fwcQ3X/Go3qBvuDBE9YzcE
+xl1UeFWID7LeE8kCu9TQ/1JR2LJPkJNb7osT2hRPii5d71Z3ISGoBi6jQfJI2ZBj
+lJ4VdljqEGY5wYVanXFkJkSf4SYb6/mymIOYnWfts/72AJwa7/fIFUswl5K34slj
+pV58zoAYle8ABW3Be5SGBoS92teNQSX0w21BMlzAlpFLMnC7sl39vzTzpwrHziGx
+RZDZcS/5thGccdra7GtRNsOBO85RJsoHraDDtI7OwWz2w0CU94Z1B9AmK/XyKzwA
+vJa00xeWj5dfGx9rpRR7H6o4y2PGkRG197yLzCVbpzepTxNyS9/zBrT2DRndV+He
+cD5Cw3TV6I/cdNsu8Ds7SVDVKL4KrnH41stfnXGmXGUMdixPJ7GDr+UuBf2jW9VP
+t/1+G0bnBkvrUCXDT9mqJOK2w2uPE8imKZcHVq3fWgj3I9t8AtBwCXcgq1u7lIot
+4ekzVIvslNQxLIQiblfiY61GSlV6916gDBNzeN7Gff/zWuoy17XqEogu3YZveceH
+Z1HKLy0MymPzqDYtRy0g6zQ7xcyhjxghe4a1kO3eDnN73UabNErxbayx/ZMHTeZ8
+Kl0EPLxF8sTxpe7Ru8IpEWXZcEZCy/rH+6H3d/56htpjyG+aXl+IqUsp45wd+ZaK
+LIZlBlHjeBPkx7WxITlj
+=GOZ6
+-----END PGP SIGNATURE-----
Added: dev/commons/dbcp/binaries/commons-dbcp2-2.0-bin.zip.md5
==============================================================================
--- dev/commons/dbcp/binaries/commons-dbcp2-2.0-bin.zip.md5 (added)
+++ dev/commons/dbcp/binaries/commons-dbcp2-2.0-bin.zip.md5 Thu Feb 27 19:39:01
2014
@@ -0,0 +1 @@
+bb446d29f3579e0c2a36c8fff087611f *commons-dbcp2-2.0-bin.zip
Added: dev/commons/dbcp/source/commons-dbcp2-2.0-src.tar.gz
==============================================================================
Binary file - no diff available.
Propchange: dev/commons/dbcp/source/commons-dbcp2-2.0-src.tar.gz
------------------------------------------------------------------------------
svn:mime-type = application/x-gzip
Added: dev/commons/dbcp/source/commons-dbcp2-2.0-src.tar.gz.asc
==============================================================================
--- dev/commons/dbcp/source/commons-dbcp2-2.0-src.tar.gz.asc (added)
+++ dev/commons/dbcp/source/commons-dbcp2-2.0-src.tar.gz.asc Thu Feb 27
19:39:01 2014
@@ -0,0 +1,17 @@
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.9 (MingW32)
+
+iQIcBAABAgAGBQJTD1tYAAoJEBDAHFovYFnnml0QAIfLmAwh7J8GW9Rzg+Ab/4os
+rf7pEDOHk8p2V9W+auiNcHCvLIgima8cDt+d3B1WTcQFYZH6WxCLHaQvmsNO2MjR
+RFTciPW+QisOK461wyLdup9Z8JoQEXyttJl3jfohTKilD1EcZbHMILhRuky6UUWm
+JoZAqJGSGBkvWi2gBUXjzc/G/lXk68ouax4jQbfG11uxm3QiWqEHtwlu9QI4tU/T
+zAeDNVGMHuSMU3pcd3JSb4DXCjmnlPDQ5X/0/kCCoLUnoB1zwi9nCKf54hBptNxw
+SZg1Cj1qrFC27nR828xi/H7sNA1hKpijw7otZv3oITENwedq40B+lE9AsT4yDCF7
+xljjxaKgUXS8MxzAckbgfOceyZIQLAJaThfFxailzYMdQzvrpWBc63vFRJAMYBJM
+/fQNL+SgWRe85gBJzXUrqItpW2uFruyjClUuDXK4xOHvhDF5hUO+ujy+ccYoT9+8
+77Ycv3hZZP0xzH5r2oOl5lscdbgAVMbzofbwrad3GQvnv8LO/CI1bCNN5/wNRzZa
+ZQHyFWJ/zERBE9cLzAXviEJJZMjlRjQaNJYXTC+ml//1hUBg/W0XYI4nmZP2EObc
+OlO17UsBmaoFWqCqDHPH4+/00jZGjPDJgaZ0du7bQiOhbXTs0t60qkA4YDLRbf1s
+e9qLgPlQUd/pGrTvY+q5
+=yFkp
+-----END PGP SIGNATURE-----
Added: dev/commons/dbcp/source/commons-dbcp2-2.0-src.tar.gz.md5
==============================================================================
--- dev/commons/dbcp/source/commons-dbcp2-2.0-src.tar.gz.md5 (added)
+++ dev/commons/dbcp/source/commons-dbcp2-2.0-src.tar.gz.md5 Thu Feb 27
19:39:01 2014
@@ -0,0 +1 @@
+fff33164b78d92378ca51875aa4dec9f *commons-dbcp2-2.0-src.tar.gz
Added: dev/commons/dbcp/source/commons-dbcp2-2.0-src.zip
==============================================================================
Binary file - no diff available.
Propchange: dev/commons/dbcp/source/commons-dbcp2-2.0-src.zip
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: dev/commons/dbcp/source/commons-dbcp2-2.0-src.zip.asc
==============================================================================
--- dev/commons/dbcp/source/commons-dbcp2-2.0-src.zip.asc (added)
+++ dev/commons/dbcp/source/commons-dbcp2-2.0-src.zip.asc Thu Feb 27 19:39:01
2014
@@ -0,0 +1,17 @@
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.9 (MingW32)
+
+iQIcBAABAgAGBQJTD1tZAAoJEBDAHFovYFnnwPkQAMI+fcvRt3aHl4y7anZNKfb/
+3C36VWaLAmRIsSN94CfFgJu5+A+YHFXzYDVHrlGi6SxxnwQ+5Hgk0SGjrA9qMYV8
+XtPuWs4LinfMEj1UY9T3yAtsJjIOl96bAVbCyjC5KtMOiHcYyp4aqM6okYB9LJBI
+xyLtwzXhIGyvxuxXZYuqabZT3rEbkug8NLgfio+5B8OJkbSYTf5vuYW62DG8vMR1
+7KLT9Ujd/lXXSsF0hsDLtg+RWeSK1x9iMdk1K/CqJ3vTdqVywgPp0njVtJaC8Rzp
+911AHs+mQNaVJkhS0Pw/SqbbWJot/Mz1f6ZhTxG90IsSvZpPGWT4YZZOC3w7KHY8
+RDOo8fwstHuBWNk4gNAm91S86yolV1LWLxrtlS7Iy5ecT+UAiAn4Ew+39sqLVKcN
+7UmGprQpgFUzgUN/DNQLNc95qYkYANu7yO+fIbmOeow+5wXGDcBDH1i10HUx1C3x
+T6ZRy0IgSGEPwuTkJn7/SpXQAIotkiHP95fNCcb4C6yfIlH4IyaFaY846V1GigjW
+f00+hrgrd31d8V+86oOgLSlJ8BPfU1Emq8yRWGl7G/Efc8kHHD5OCjVW/8OioraL
+WFSMDz5cwShCbsXWdH6CxKFK9mvBYT5/hKNxtpCyd6BQeFD1of50V1ueBRML9Zr8
+D44hcglmuMYDUhGzjDcd
+=ZOQC
+-----END PGP SIGNATURE-----
Added: dev/commons/dbcp/source/commons-dbcp2-2.0-src.zip.md5
==============================================================================
--- dev/commons/dbcp/source/commons-dbcp2-2.0-src.zip.md5 (added)
+++ dev/commons/dbcp/source/commons-dbcp2-2.0-src.zip.md5 Thu Feb 27 19:39:01
2014
@@ -0,0 +1 @@
+68b9ec4bc067f72bc3fb9e53425dabff *commons-dbcp2-2.0-src.zip