[prev in list] [next in list] [prev in thread] [next in thread] 

List:       tomcat-user
Subject:    RE: PreparedStatement Pool
From:       "Shapira, Yoav" <Yoav.Shapira () mpi ! com>
Date:       2003-05-30 19:39:52
[Download RAW message or body]


Howdy,

> The drivers don't do
> that, and closing a connection doesn't really have
> anything to do with it (in fact a pool would NOT close
> an unused connection.)

That's not necessarily true.  Most connection pools are 
smart enough to close resources associated with a logical
connection (as well as a physical connection of course), such
as the statements for the connection, when you return the 
connection to the pool.

In addition, a connection pool may close an unused idle 
connection after a specified period of time.  This is a 
pool implementation feature but is fairly standard.

Yoav Shapira



This e-mail, including any attachments, is a confidential business communication, and \
may contain information that is confidential, proprietary and/or privileged.  This \
e-mail is intended only for the individual(s) to whom it is addressed, and may not be \
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) \
intended recipient, please immediately delete this e-mail from your computer system \
and notify the sender.  Thank you.


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic