XAPool - XAPool is Another Pool !Description: This software allows to pool objects, JDBC connections and XA connections. It comes from Enhydra application server from Lutris. Now the project is hosted by the ObjectWeb consortium and managed by Experlog. It exports a DataSource (with a pool) which is a factory of PooledConnection, and XADataSource (with a pool) which is a factory of XAConnection (connections that can be used in distributed transactions). PooledConnection objects are created by a ConnectionPooledDataSource object, and pooled in a classical pool (GenericPool). XAConnection objects are built with a XADataSource object.
The classic pool offers common and useful operations:
XAPool on Objectweb SourceForgeMailing-list: subscribe to the public mailing-list on OWForgeDocumentation: README.txt Examples:(all examples are described here)1.2.1: ------ - added a console appender to the log4j configuration file, to log with the complete name (org.enhydra.jdbc.xapool) - fixed a bug when using multiple connection inside the same transaction - changed the logger name xapool, and now use the complete name org.enhydra.jdbc.xapool 1.2: ---- - bug fixes in JNDI mechanism - added logs with commons-logging - added several examples 1.1: ---- This version includes major changes, and correct a lot of bugs. Main changes are: - AutoCommit value is now saved before the begin of the transaction and restored to the commit or rollback of the transaction - when no transaction is defined, and the AutoCommit flag sets to false, when the user calls close() on the connection, the connection is rollbacked - fixed bug when the connection is opened before the begin of the transaction and close after the commit or rollback (connection enrolled a posteriori) - fixed bugs in the cache prepared statement mechanism - added commons logging to log inside XAPool - added 5 more examples (tests) to demonstrate the XAPool functionalities GenericPool: use of the pool, just to show it is a classical poolLicense: Enhydra Public License (EPL)Links:
|
![]() ![]()
download section |