Details
-
Bug
-
Resolution: Done
-
Blocker
-
None
-
None
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??"