Usually every databse has its own ConnectionPool implementation.

> ----------
> De:   James Neville[SMTP:[EMAIL PROTECTED]
> Responder:    Tomcat Users List
> Enviada:      quarta-feira, 7 de janeiro de 2004 13:50
> Para:         Tomcat Users List
> Assunto:      Re: Connection Pooling
> 
> Justin,
> 
> That would all depend on the pooling implementation you're using.
> Commonly, its pool.free(conn) or pool.freeConnection(conn).
> Remember *not* to close the connection if you're using connection 
> pooling, as this should be handled by the pool itself.
> 
> That said.... one of my colleagues mentioned one pooling implementation 
> he used that
> returned a custom connection  object when obtained from the pool (ie not 
> a java.sql Connection object).
> The close() method on that connection returned it to the pool, but 
> *didn't* actually close it.
> 
> If you let us know which pooling implementation you're using, it may 
> make things clearer ;)
> 
> Cheers,
> 
> James
> 
> Hart, Justin wrote:
> 
> >Is there some manner in which a database connection should be returned
> >to the connection pool, or is that automatic?
> >
> > 
> >
> >Justin
> >
> >
> >  
> >
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

Reply via email to