commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Gregory <garydgreg...@gmail.com>
Subject Re: [dbcp] prepared statement caching when connections are closed but connection pool still has connection
Date Fri, 27 Jul 2012 12:20:26 GMT
Note that if you must use 1.2 you should test with the latest version
from that branch which is 1.2.2. We are on 1.4.x for current
development.

Gary

On Jul 25, 2012, at 10:16, Amish Shah <ashah@opnet.com> wrote:

>
> Does the DBCP support prepared statement caching in the following condition
> 1) connection is opened from connection pool
> 2) Prepared statement are used
> 3) Connection is closed but returned to connection pool
>
> If we reuse the connection from the connection pool is there a way the prepared statement
from step #2,
> could be used without parsing again.
>
>
> What I am seeing is that prepared statement are being parsed again?
> We are using version of DBCP 1.2.1
>
> Any help/response would be good.
>
> Amish Shah
> OPNET Technology
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
> For additional commands, e-mail: user-help@commons.apache.org
>

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


Mime
View raw message