Connecting to SAP HANA in Data Virtualization
You must configure SAP HANA as a data source before you can create a connection to it in Data Virtualization.
Before you begin
You must locate the JAR file from the JDBC driver that you downloaded when you configured the connection to the SAP HANA database. For more information, see the SAP HANA product documentation.
Procedure
On the navigation menu, click Data sources page by default.
. The service menu opens to theClick Data Virtualization.
to see a list of data sources that can be added to-
Select the SAP HANA data source connection.
-
Specify the following information:
- The name of the database
- The hostname or IP address and port number of the database, which is required to access the connection.
-
Select a JDBC Driver JAR from the drop-down list.
To upload a JDBC Driver JAR file, follow these steps.
-
Enter SAP HANA in the Connection type field.
-
Upload the ngdbc.jar file.
-
For the driver class name, enter com.sap.db.jdbc.DriverSapDB.
-
For the JDBC URL prefix, enter jdbc:sap.
-
Click Upload.
-
-
Specify the username and password that allow access to the data source.
If you want to use SSL to connect to the database, copy the content of the SSL certificate and paste it in the corresponding box.
Some data sources can use an SSL certificate that is stored as a secret. To use this option, an administrator must enable the vaults feature. For more information, see Enabling vaults for the Cloud Pak for Data web client. Additionally, if you are using secrets from an external vault, you must have the appropriate permissions to connect to external vaults or an administrator must share the appropriate secrets with you. For more information, see Managing secrets and vaults.
-
Click Create to add the connection to the data source environment.
-
Optional: Select a remote connector to associate to the data source and click Add to connector.
For more information, see Installing remote connectors.