my comments are in red.

Tushar Madhukar <[EMAIL PROTECTED]> wrote:    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?
yes, it is thread safe.
  
2. How to release all connections in the pool, when the application closes?
conn.close();
  
Thanks

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




       
---------------------------------
Ahhh...imagining that irresistible "new car" smell?
 Check outnew cars at Yahoo! Autos.

Reply via email to