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

DatabaseMetaData.getDriverName() returns connector/J with a lowercase c

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Fixed
    • 2.3.0
    • 1.8.0, 2.4.0
    • metadata
    • None

    Description

      The following java code returns the string "Driver Name = MariaDB connector/J" instead of the correct "Driver Name = MariaDB Connector/J"

      import java.sql.Connection;
      import java.sql.DatabaseMetaData;
      import java.sql.DriverManager;
       
      public class p2 {
      public static void main(String[] args) throws Exception {
         Connection conn = DriverManager.getConnection("jdbc:mariadb://moe:10309/test", "user", "pwd");
         DatabaseMetaData metadata = conn.getMetaData();
         System.out.println("Driver Name = " + metadata.getDriverName());
         }
      }
      

      Attachments

        Activity

          People

            diego dupin Diego Dupin
            karlsson Anders Karlsson
            Votes:
            0 Vote for this issue
            Watchers:
            3 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.