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

BasicDataSource does not set disconnectionSql properties on its PoolableConnectionFactory

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.1
    • Fix Version/s: 2.1.1
    • Labels:
      None

      Description

      The fastFailValidation and disconnectionSqlCodes properties added in version 2.1 are not passed by BasicDataSource to its underlying PoolableConnectionFactory. As a result, they do nothing when set on the BasicDataSource. To work in version 2.1, these properties have to be set directly on the PoolableConnectionFactory.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              psteitz Phil Steitz
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: