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

enhancements to prepared statement in DriverAdapterCPDS

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.1
    • None
    • None
    • Operating System: All
      Platform: All

    • 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

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

            Dates

              Created:
              Updated:
              Resolved: