On Wed, 2003-07-09 at 09:53, David Graham wrote:
> --- Rodrigo Reyes <[EMAIL PROTECTED]> wrote:
> > Thanx David...
> > But if this happens, how do I close connections when the system no
> > longer
> > uses them? 
> 
> Your code should always close connections from the pool when it's done
> with them.  Connections also get closed when they're garbage collected so
> if your app stops using the DataSource or gets shut down they will be
> closed.

Note that when you call "close" on a pooled connection, this *returns
the connection to the pool* rather than *closing the connection to the
database*.


Regards,

Simon


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

Reply via email to