Uploaded image for project: 'Commons DBCP'
  1. Commons DBCP
  2. DBCP-164

enhancements to prepared statement in DriverAdapterCPDS

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.1
    • Fix Version/s: None
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Bugzilla Id:
      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.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              dirkv Dirk Verbeeck
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: