thanks.
so i should not set the connection to null after calling close?

thanks,
Daniel
Schulken
----- Original Message ----- 
From: "Tatu Vanhanen" <[EMAIL PROTECTED]>
To: "Jakarta Commons Users List" <[EMAIL PROTECTED]>
Sent: Thursday, February 05, 2004 8:14 AM
Subject: RE: DBCP


> 
> > Im new to using this form of connection pooling.
> > I want to know how to release connections back to the pool.
> 
> By calling the close()- method of the connection ;)
> 
> The connection instance retrieved from the pool is actually a pooled
> connection that puts itself back to the pool when close() is called.
> 
> But remember to close the connection in a finally- block to ensure the
> connection is always put back to the pool, no matter what.
> 
> - Tatu V.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.577 / Virus Database: 366 - Release Date: 2/3/2004

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

Reply via email to