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

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

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.3.0
    • Fix Version/s: 2.4.0, 1.8.0
    • Component/s: metadata
    • Labels:
      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

            • Assignee:
              diego dupin Diego Dupin
              Reporter:
              karlsson Anders Karlsson
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: