Issue Details (XML | Word | Printable)

Key: DBCP-164
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Unassigned
Reporter: Dirk Verbeeck
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Commons Dbcp

enhancements to prepared statement in DriverAdapterCPDS

Created: 06/Mar/04 09:22 PM   Updated: 25/Mar/08 08:11 AM
Return to search
Component/s: None
Affects Version/s: 1.1
Fix Version/s: None

Time Tracking:
Not Specified

File Attachments:
  Size
Text File patch_dbcp_maxpreparedStatements.txt 2004-03-06 09:22 PM Dirk Verbeeck 7 kB
Environment:
Operating System: All
Platform: All

Bugzilla Id: 27494


 Description  « Hide
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.

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Dirk Verbeeck added a comment - 06/Mar/04 09:22 PM
Created an attachment (id=10683)
patch_dbcp_maxpreparedStatements

Dirk Verbeeck added a comment - 12/Jul/04 02:11 AM
patch applied

Henri Yandell made changes - 16/May/06 09:38 AM
Field Original Value New Value
issue.field.bugzillaimportkey 27494 12341313
Henri Yandell made changes - 16/May/06 11:28 AM
Affects Version/s 1.1 Final [ 12311652 ]
Key COM-1161 DBCP-164
Project Commons [ 12310458 ] Commons Dbcp [ 12310469 ]
Component/s Dbcp [ 12311109 ]
Assignee Jakarta Commons Developers Mailing List [ commons-dev@jakarta.apache.org ]
Henri Yandell made changes - 16/May/06 12:28 PM
Affects Version/s 1.1 Final [ 12311719 ]
Henri Yandell made changes - 25/Mar/08 08:11 AM
Status Resolved [ 5 ] Closed [ 6 ]