commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tushar Madhukar" <tushar.madhu...@gmail.com>
Subject [DBCP] Getting connections from PoolingDataSource
Date Thu, 10 May 2007 13:42:45 GMT
Hi,

I am using DBCP (PoolingDataSource with GenericObjectPool) for pooling
database connections.

1. My web application can have multiple clients accessing connections
simultaneously. Is PoolingDataSource.getConnection() thread safe or do
I have to handle synchronization?

2. How to release all connections in the pool, when the application closes?

Thanks

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message