commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wes Clark" <>
Subject RE: [dbcp] poolPreparedStatements parameter
Date Wed, 25 Feb 2009 23:55:51 GMT
Another guess is that modern database do a pretty good job of caching
queries at the server, so why not let the database server do the caching
for you? 

-----Original Message-----
From: Anurag Kapur [] 
Sent: Wednesday, February 25, 2009 3:43 PM
To: Commons Users List
Subject: Re: [dbcp] poolPreparedStatements parameter

Just guessing,
Probably because PreparedStatements are not used in many applications
and thus by having the pooling option turned off by default it saves the
overhead involved in maintaining the pools.

Can a expert validate by guess and if it is not correct provide a sane
explanation? :)


Anurag Kapur
Associate - Technology,
Sapient Corporation India.

On Wed, Feb 25, 2009 at 9:49 PM, Stefano Nichele

> Hi All,
> I would like to ask why poolPreparedStatements is false by default. It

> seems that setting it to true could improve performances (I haven't 
> tried it, but it seems useful) Is there any drawback or known issues ?
> thanks a lot
> ste
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message