Thanks!

-----Original Message-----
From: Waldhoff, Rodney [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 30, 2002 7:19 AM
To: '[EMAIL PROTECTED]'
Subject: RE: DBCP: Free Connection


> How do I ensure that connection is freed?
> I close the connection in the code but does 
> that alert DBCP that the connection is now free.

Yes, exactly. If you dig into the implementation, you'll see that the
Connnections returned by DBCP are actually PoolableConnections wrapping the
underlying Connection created by your DataSource or Driver.
PoolableConnection.close returns the underlying Connection to the pool.

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

Reply via email to