Uploaded image for project: 'Teiid Designer'
  1. Teiid Designer
  2. TEIIDDES-1486

Create Data Source is broken with Teiid 8.x changes

    XMLWordPrintable

Details

    Description

      Teiid 8.x changes resulted in loosing our mapping of simple connection types to known Teiid connection names. Hardcoded constants in DatasourceConnectionConstants were:

      String JDBC = "connector-jdbc"; //$NON-NLS-1$
      String SALESFORCE = "connector-salesforce"; //$NON-NLS-1$ 
      String LDAP = "connector-ldap"; //$NON-NLS-1$ 
      String FILE = "connector-file"; //$NON-NLS-1$ 
      String JDBC_XA = "connector-jdbc-xa"; //$NON-NLS-1$
      String WS = "connector-ws"; //$NON-NLS-1$
      String UNKNOWN = "connector-unknown"; //$NON-NLS-1$
      

      In 8.x, Teiid data source types are named mostly by their driver jars:

      while in debug, my current list was:

      • teiid-local
      • teiid-connector-file.rar
      • teiid
      • teiid-connector-salesforce.rar
      • teiid-connector-ldap.rar
      • teiid-connector-ws.rar
      • ojdbc6.jar
      • h2

      Also changed the type name of "connector-jdbc" in debug to "ojdbc6.jar" and it successfully created a data source on teiid.

      Need use driver jar from Connection Profile properties.

      Note, that CP's are allowed to use "multiple driver jars??"

      Attachments

        Activity

          People

            mdrillin1@redhat.com Mark Drilling (Inactive)
            blafond Barry LaFond
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: