Setting up a JDBC provider for type 4 connections
Use a JDBC Providers policy to configure a JDBC provider service.
Before you begin
- See the following information: Creating an integration node.
- Create the database by following the database documentation.
About this task
Important: When
naming your JDBC Providers policy, consider the following requirements:
- If you want to use your JDBC Providers policy with a JavaCompute node, or with a Java user-defined node, the name
of your policy must match the datasourceName parameter
in the
getJDBCType4Connection()
, provided that the policy is in the default policy project. If the policy is not in the default policy project, you must specify the policy and policy project name in the format{policyProjectName}:PolicyName
. - If you want to use your JDBC Providers policy with a Mapping node, the name of your policy must match the database name that is used by the database transforms in your Graphical Data Map. For each database transform, the database name is determined by the database definition (.dbm file) in the Data Design project that was used to create the map. The JDBC Providers policy must be deployed in the default policy project; for more information, see Configuring a default policy project.
- If you want to use your JDBC Providers policy with a DatabaseRetrieve node, or with a DatabaseRoute node, the name of your policy must match the value of the Data source name property of the node. The JDBC Providers policy must be deployed in the default policy project; for more information, see Configuring a default policy project.
A JDBC Providers policy supports connections to one database only; you must create a policy for each database that your nodes or Java applications connect to.
To set up a JDBC provider for type 4 connections, complete the following steps.