Uploaded image for project: 'Cayenne'
  1. Cayenne
  2. CAY-1155

Modeler template for SQLServer driver has a typo in the driver name

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 3.0M5
    • 3.0M6
    • Modeler
    • None

    Description

      When creating a SQLServer DataSource, incorrect driver name is used:

      — a/framework/cayenne-modeler/src/main/java/org/apache/cayenne/modeler/util/AdapterMapping.java
      +++ b/framework/cayenne-modeler/src/main/java/org/apache/cayenne/modeler/util/AdapterMapping.java
      @@ -151,7 +151,7 @@ public class AdapterMapping {
      "com.openbase.jdbc.ObDriver");
      adapterToJDBCDriverMap.put(
      SQLServerAdapter.class.getName(),

      • "com.microsoft.jdbc.sqlserver.SQLServerDriver");
        + "com.microsoft.sqlserver.jdbc.SQLServerDriver");
        adapterToJDBCDriverMap.put(
        DerbyAdapter.class.getName(),
        "org.apache.derby.jdbc.EmbeddedDriver");

      Attachments

        Activity

          People

            andrus Andrus Adamchik
            andrus Andrus Adamchik
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: