commons-user mailing list archives

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

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?


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

View raw message