The Java Database Connectivity (JDBC) provides programmatic access to relational databases. Applications can execute SQL statements and retrieve data using the JDBC API.
Before connecting CDM to a relational database, you need to upload the JDK 8 .jar driver of the relational database.
Different types of relational databases need to adapt to different drivers. You can obtain the JDK 8 .jar driver from the links provided in Table 1.
Relational Database Type |
Driver Name |
How to Obtain |
Recommended Version |
---|---|---|---|
|
MySQL |
mysql-connector-java-5.1.48.jar |
|
Oracle |
ORACLE_6 ORACLE_7 ORACLE_8 |
Driver packages: https://www.oracle.com/database/technologies/appdev/jdbc-downloads.html Driver packages of historical versions: https://repo1.maven.org/maven2/com/oracle/database/jdbc/ojdbc8/12.2.0.1/ |
ojdbc8.jar for version 12.2.0.1 NOTE:
New versions (for example, Oracle Database 21c (21.3) drivers) are not supported. If they are used, the schema name cannot be obtained during job creation. |
|
POSTGRESQL |
postgresql-42.1.4.jar for JDBC 4.2 |
|
IBM Db2 |
DB2 |
https://www.ibm.com/support/pages/db2-jdbc-driver-versions-and-downloads |
4.21.29 |
|
SQLServer |
Driver packages: Driver packages of historical versions: |
sqljdbc42.jar |
Alternatively, click Copy from SFTP in the Operation column and configure the SFTP Link name and Driver File Path.