Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
1.1
-
None
-
None
-
Operating System: All
Platform: All
-
27494
Description
Patch posted on commons-dev 29-02-2004 by Todd Carmichael
==========================================================
Currently there is not much configurability for the prepared statement
pooling. This patch defines a new property on the driveradaptercpds class:
maxPreparedStatements. If this value is set to something other than -1,
then the underlying statement pool will not use an evictor thread and will
use the maxTotal mechanism to remove the oldest objects. If set to -1,
then the old behavior is used. You may find this patch useful. In our
environment we are concerned about creating a separate thread for EVERY
connection.