Skip to content

Commit

Permalink
teiiddes-2388: Added/Modified HANA driver name and JDBC URL template.
Browse files Browse the repository at this point in the history
  • Loading branch information
tejones committed Dec 22, 2015
1 parent 846289a commit 79baa36
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -94,7 +94,7 @@ public class TranslatorHelper implements UiConstants {
public static final String URL_SQLSERVER = "jdbc:sqlserver://<host>:1433;databaseName=<dbName>"; //$NON-NLS-1$
public static final String URL_TEIID = "jdbc:teiid:<vdbName>@mms://<host>:31000"; //$NON-NLS-1$
public static final String URL_JDBC = "jdbc://<host>:<port>"; //$NON-NLS-1$
public static final String URL_SAP_HANA = "jdbc:sap://<host>:<port>"; //$NON-NLS-1$
public static final String URL_SAP_HANA = "jdbc:sap://<host>:3<instance number>15"; //$NON-NLS-1$

/**
* Get the best fit translator, given the driverName and list of translator names
Expand Down Expand Up @@ -297,7 +297,7 @@ public static String getUrlTemplate(String driverName) {
}


if( driverName.startsWith("sap") || driverName.contains("hgdbc")) { //$NON-NLS-1$ //$NON-NLS-2$
if( driverName.startsWith("sap") || driverName.contains("ngdbc")) { //$NON-NLS-1$ //$NON-NLS-2$
return URL_SAP_HANA;
}

Expand Down

0 comments on commit 79baa36

Please sign in to comment.