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

BasicDataSource should set setSoftMinEvictableIdleTimeMillis on GenericObjectPool

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • 2.1.1
    • 2.2.0
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: