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

BasicDataSource should set setSoftMinEvictableIdleTimeMillis on GenericObjectPool

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 2.1.1
    • Fix Version/s: 2.2.0
    • Labels:
      None

      Description

      Setting the setSoftMinEvictableIdleTimeMillis on the BasicDataSource will not set this property on the underlying connection pool, if it hasn't been created yet.

      BasicDataSource#createConnectionPool should set the property on the GenericObjectPool.

      There had been a similar issue for DBCP 1.x as described in DBCP-334

        Attachments

        1. patch
          3 kB
          Philipp Marx

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              smigfu Philipp Marx
            • Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: