Skip to content
Technical preview

Technical preview function is in a state that it can be tried. The development is complete, there is documentation and there are samples, tutorials and hands-on labs as appropriate.

The community is looking for feedback on the function before declaring it stable. This feedback may result in changes to the external interfaces.

JDBC Integration Connector

Connector details

The JDBC integration connector connects to a relational database and extracts its database schema information and catalogs it as open metadata.

Figure 1

Figure 1: JDBC integration connector accessing a database and cataloguing its schemas in a metadata access server

It uses an embedded JDBC Digital Resource Connector to access the database.

Catalogued elements

The JDBC integration connector catalogs a database asset, database schema assets, tables, columns, primary and foreign keys.

Figure 2

Figure 2: Open metadata types used to catalog a database

If the endpoint information is available, it will also attach the connection information to access the database through the JDBC Digital Resource Connector.

Figure 3

Figure 3: Connection information attached to catalogued database enables consumers of the database to get access to the database contents

Configuration

This connector uses the Database Integrator OMISrunning in the Integration Daemon.

This is its connection definition to use on the administration commands that configure the Database Integrator OMIS.

Connection configuration

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
{
    "connection" : 
    {
        "class": "VirtualConnection",
        "connectorType" : 
        {
            "class": "ConnectorType",
            "connectorProviderClassName": "org.odpi.openmetadata.adapters.connectors.integration.jdbc.JdbcIntegrationConnectorProvider"
        },
        "embeddedConnections":
        [
            {
                "class" : "EmbeddedConnection",
                "embeddedConnection" :
                {
                    "class" : "Connection",
                    "userId" : "{{userId}}",
                    "clearPassword" : "{{clearPassword}}",
                    "connectorType" : 
                    {
                        "class": "ConnectorType",
                        "connectorProviderClassName": "org.odpi.openmetadata.adapters.connectors.resource.jdbc.JdbcConnectorProvider"
                    },
                    "endpoint":
                    {
                        "class": "Endpoint",
                        "address" : "{{address}}"
                    },
                    "configurationProperties" :
                    {
                        "connectorTypeQualifiedName" : "{{connectorTypeQualifiedName}}"
                    }
                }
            }
        ]
    }
}
  • Replace '{{userId}}' and '{{clearPassword}}' with the database username and password.
  • Replace '{{address}}' with the database jdbc url.
  • Replace '{{connectorTypeQualifiedName}}' with a connector type already saved. Required to construct the connection information