commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 27494] New: - enhancements to prepared statement in DriverAdapterCPDS
Date Sat, 06 Mar 2004 13:22:14 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27494>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27494

enhancements to prepared statement in DriverAdapterCPDS 

           Summary: enhancements to prepared statement in DriverAdapterCPDS
           Product: Commons
           Version: 1.1 Final
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Dbcp
        AssignedTo: commons-dev@jakarta.apache.org
        ReportedBy: dirk.verbeeck@pandora.be


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.

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


Mime
View raw message