Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: 14.3, 15.0, 16-M0
    • Fix Version/s: 14.4, 15.1
    • Component/s: jdbc-sqlserver plugin
    • Labels:
    • Environment:

      no specific environment; off-line test will be provided in PR

      Description

      When specifying the jtds dbtype in combination with a schema and a jndiReferenceName it will return null instead of a datastore:

      jndiProps.put("jndiReferenceName", JNDINAME);
      jndiProps.put("schema", "dbo");
      jndiProps.put("dbtype", "jtds-sqlserver");
      JDBCDataStore dataStore = (JDBCDataStore) DataStoreFinder.getDataStore(jndiProps);
      

      specifying sqlserver as dbtype you do get a datastore.

      some talk about this on the user ML: https://sourceforge.net/p/geotools/mailman/message/35089310/

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              mprins Mark Prins
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: