Uploaded image for project: 'MariaDB Connector/J'
  1. MariaDB Connector/J
  2. CONJ-105

getConnection(String, String) ignores defined properties

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 1.1.7
    • Fix Version/s: 1.1.8
    • Component/s: None
    • Labels:
      None

      Description

      If I call MySQLDataSource#getConnection(String username, String password), it returns MySQLConnection.newConnection(new MySQLProtocol(url, username, password, new Properties()));

      If I have previously passed in properties via MySQLDataSource#setProperties(String properties), those properties are improperly ignored. The return statement above should use "info" instead of "new Properties()".

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              massimo.siani Massimo Siani (Inactive)
              Reporter:
              ams2990 Andy Shulman
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.