File tree Expand file tree Collapse file tree
docs/deploy-and-configure/configuration/dataintegration/jdbc Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -48,18 +48,24 @@ Depending on the deployment model, suitable options include:
4848### Driver Registration
4949
5050A custom JDBC driver must be registered in the DataIntegration configuration file ` dataintegration.conf ` , in the ` spark.sql.options ` section.
51- The following example shows how to register a custom JDBC driver for Databricks:
51+ The following example shows how to register two custom JDBC drivers for DB2 and Databricks:
5252
5353``` conf
5454…
5555spark.sql.options {
5656 …
57- # driver name
58- jdbc.drivers = "databricks"
57+ # driver name, comma seperated
58+ jdbc.drivers = "db2,databricks"
59+
5960 # path to the jar in the docker container
6061 jdbc.databricks.jar = "/opt/cmem/eccenca-DataIntegration/dist/etc/dataintegration/conf/plugin/DatabricksJDBC.jar"
6162 # class name
6263 jdbc.databricks.name = "com.databricks.client.jdbc.Driver"
64+
65+ # path to the jar in the docker container
66+ jdbc.db2.jar = "/opt/cmem/eccenca-DataIntegration/dist/etc/dataintegration/conf/plugin/db2jcc-db2jcc4.jar"
67+ # class name
68+ jdbc.db2.name = "com.ibm.db2.jcc.DB2Driver"
6369 …
6470}
6571…
You can’t perform that action at this time.
0 commit comments