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

        Dirk Verbeeck created issue -
        Henri Yandell made changes -
        Field Original Value New Value
        issue.field.bugzillaimportkey 27494 12341313
        Henri Yandell made changes -
        Component/s Dbcp [ 12311109 ]
        Project Commons [ 12310458 ] Commons Dbcp [ 12310469 ]
        Assignee Jakarta Commons Developers Mailing List [ commons-dev@jakarta.apache.org ]
        Key COM-1161 DBCP-164
        Affects Version/s 1.1 Final [ 12311652 ]
        Henri Yandell made changes -
        Affects Version/s 1.1 Final [ 12311719 ]
        Henri Yandell made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development