Using the Client Interfaces with SAP HANA Cloud

Use the SAP HANA client interfaces to securely connect to the SAP HANA Cloud database.

Basic Connectivity

To connect to the SAP HANA Cloud, provide the user ID, password, and SAP HANA Cloud SQL Endpoint details.

The following example uses an ODBC-style connection string format to connect to the SAP HANA Cloud:

serverNode=12345678-abcd-12ab-34cd-1234abcd.hana.hanacloud.ondemand.com:443;UID=myuser;PWD=mypassword

Supported Client Versions

It is recommended to use the latest version of the SAP HANA client interfaces available to connect to the SAP HANA Cloud. As newer versions of SAP HANA Cloud are released, a newer version of SAP HANA client is sometimes required to use the latest features. Minimum client versions for compatibility with SAP HANA Cloud features are described in SAP Note 3082128 Information published on SAP site

Securing Client Connections to SAP HANA Cloud

All connections to SAP HANA Cloud are encrypted with Transport Layer Security (TLS).

SQLDBC

By default, the SAP HANA Client uses either the OpenSSL library or Microsoft CryptoAPI to perform TLS encryption. The DigiCert Global Root CA certificate is already packaged with the default included OpenSSL CA certificates or in the Microsoft Windows Certificate Manager included with the operating system.

If OpenSSL or Microsoft CryptoAPI is not available or if specific client features are required, the SAP Common Crypto Library (CommonCryptoLib) can also be used. For further details using CommonCryptoLib, see  Securing Connections to SAP HANA Cloud Using SAP Common Crypto Library.

JDBC

JDBC uses the TLS implementation in the Java Virtual Machine (JVM). Typically, the JVM includes a copy of the DigiCert Global Root CA in the default Java Keystore so no additional set up is required. If the JVM does not have the certificate available, it may need to be installed to the keystore using the Java keytool utility. For further details using the keytool utility, see Server Certificate Authentication.