Commons Dbcp
  1. Commons Dbcp
  2. DBCP-164

enhancements to prepared statement in DriverAdapterCPDS

    Details

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

      Operating System: All
      Platform: All

      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.

        Activity

        Hide
        Dirk Verbeeck added a comment -

        Created an attachment (id=10683)
        patch_dbcp_maxpreparedStatements

        Show
        Dirk Verbeeck added a comment - Created an attachment (id=10683) patch_dbcp_maxpreparedStatements
        Hide
        Dirk Verbeeck added a comment -

        patch applied

        Show
        Dirk Verbeeck added a comment - patch applied

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development