commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dirk Verbeeck <>
Subject Re: [DBCP] What about javax.sql.PooledConnection?
Date Thu, 23 Jun 2005 06:28:33 GMT
javax.sql.PooledConnection is an interface that defines the interaction 
between the (global) transaction manager of a J2EE server and the 
connection pool implementation.
The transaction manager registers itself using 
addConnectionEventListener and then gets notification about the 
connection usage. This manager can use this information to coordinate 
transaction between multiple pools.

Commons-DBCP has an implementation for this interface:

And the PerUserPoolDataSource and SharedPoolDataSource are using it.

-- Dirk

wolverine my wrote:
> Hi!
> There is javax.sql.PooledConnection class available in Java.
> May I know what are the differences between Common's DBCP and the
> javax.sql.PooledConnection?

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message