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

getConnection(String, String) ignores defined properties

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Duplicate
    • 1.1.7
    • 1.1.8
    • None
    • 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

              massimo.siani Massimo Siani (Inactive)
              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.