Feature Support
Connector support for specific features is shown in the following table. Key: Y - Supported; N - Not Supported; N/A - not applicableConnect to Oracle
The Oracle connector requires a JDBC driver to be configured before you can connect to your data source. You can download the driver from the vendor’s site. If you are upgrading, keep in mind you need to configure the JDBC driver- see Upgrade Self-Service Analytics for instructions. For more information and steps, see Add a JDBC Driver. When setting up a connection to Oracle, provide the following.-
Specify the connection name and JDBC URL. The JDBC URL for Oracle database being connected must be:
jdbc:oracle:thin@//ORACLEHOST:PORT/DATABASE_NAMEorjdbc:oracle:thin:@ORACLEHOST:PORT:SIDTo connect to Oracle with TLS enabled, see Connect to Oracle with TLS Enabled. - Provide the user name and password for Oracle database.
- You can use an Impersonation feature to work with Oracle data source on behalf of a proxy user. Before you begin, you must configure proxy users with the corresponding privileges in the Oracle database. To use this, select the Impersonation Enabled checkbox and specify the Impersonation Username and Impersonation Password. See Configure Settings to Use a Proxy User.
- If you need to use Self-Service Analytics’s Oracle connector to access a table that uses the XML data type, complete the additional setup steps described in Enable Access to Oracle Tables That Use the XML Data Type.
If there are any changes in the Oracle database, you must clear the Self-Service Analytics cache. See How Self-Service Analytics Caches Data.
Connect to Oracle with TLS Enabled
Before you attempt to connect to Oracle with TLS enabled, make sure you have first installed Java Cryptography Extension (JCE). See https://www.oracle.com/java/technologies/javase-jce8-downloads.html. Connect to Oracle with TLS enabled-
Create a JDBC URL with TLS parameters. To specify TLS-related parameters, use the following template for a JDBC URL:
where:
<oracle_host>is the host of the Oracle database.<oracle_tls_port>is the port of the Oracle database with TLS enabled<service_id>is the Oracle service ID or database to which you want to connect
tcps. -
If your Oracle database is configured with a custom certificate, you should configure a truststore for the Oracle connector, as described in the following steps:
- Copy a truststore to the machine on which Self-Service Analytics’s Oracle connector is running.
-
Add the following lines to file
edc-oracle.jvm.- Linux: Copy the file
edc-oracle.jvmfrom the/opt/zoomdata/confdirectory if a copy is not in/etc/zoomdata/. - Windows: Copy the file
edc-oracle.jvmfrom the<install-path>/confdirectory if a copy is not in<install-path>/conf-modify.
<path_to_truststore>is the absolute path to your truststore<truststore_password>is the password for your truststore
- Linux: Copy the file
-
Restart the Oracle connector microservice,
zoomdata-edc-oracle. See Restart Microservices.
Configure Settings to Use a Proxy User
To enable a Self-Service Analytics user work as a proxy user, specify the user attributes of corresponding oracle user (that will be used as proxy user) in the account details of a Self-Service Analytics user. You must specify the user attributes for each Self-Service Analytics user that will access the Oracle data source as a proxy user. Perform the following steps:- Log in as an administrator or member of the supervisors group for your instance or selected tenant.
- Select Users from the menu. The Users work area appears, listing all users in your instance or selected tenant.
- Select a user from the list and select their Custom Attributes tab.
- Select Add Custom Attribute. Specify credentials for a user as follows:
- Key - specify the login attribute for proxy user. Corresponding reference name is listed in the Usage column. You have to specify the value from the Usage column in the Impersonation Username field while creating a connection.
- Value - specify the actual name of the oracle user that you want to use as proxy user.
- Select the checkbox in the Secure column to encrypt the value of the key.
- If the proxy user requires a password, select Add Custom Attribute and specify the key and value for the password. You have to specify the reference name from the Usage column in the Impersonation Password field while creating the connection.
Enable Access to Oracle Tables That Use the XML Data Type
Before you enable access to Oracle tables that use the XML data type, be sure you have set up the Oracle JDBC driver. See Add a JDBC Driver. Enable access to Oracle tables that use the XML data type-
Download the
xdb6.jarandxmlparserv2.jarfiles from Oracle to the corresponding Self-Service Analytics instance. You can download obtainxdb6.jarby downloading it from https://www.oracle.com/database/technologies/jdbc-ucp-122-downloads.html. You can obtainxmlparserve2.jarby extracting it from thelibdirectory in the Oracle XML Developers Kit, which can be downloaded from https://www.oracle.com/downloads/. Place these files in the following folder:- Linux:
/opt/zoomdata/lib/edc-oracle/ - Windows:
<install-path>/lib/edc-oracle/
Note that this is the same folder where you downloaded the Oracle JDBC driver (see Add a JDBC Driver). - Linux:
-
Add the following lines to the connector JVM file:
- Linux:
/etc/zoomdata/edc-oracle.jvm - Windows:
<install-path>/conf-modify/
- Linux:
-
Restart the Oracle connector microservice,
zoomdata-edc-oracle. See Restart Microservices.