Uploaded image for project: 'Aries'
  1. Aries
  2. ARIES-1550

aries-transaction-jdbc: Calls to getConnection() with null user and password

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • transaction-jdbc-2.1.1
    • None
    • Transaction
    • None

    Description

      This is a follow-up to ARIES-1171.

      aries-transaction-jdbc can wrap a "normal" DataSource with pooling functionality. If that happens, it calls DataSource.getConnection(String, String) with null user/password (in case aries.xa.username and/or aries.xa.password are not set.

      In some DataSource-implementations this causes a NPE, e. g. DB2. Derby and H2 for example also work with null parameters.

      A fix similar to ARIES-1171 is proposed.

      Attachments

        Issue Links

          Activity

            People

              cschneider Christian Schneider
              j0xaf Jörn Gersdorf
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: