DB2 Connector Overview

A Connector implementation for an DB2 database. Uses plain JDBC calls to execute provisioning operations on DB2 resource. Tested with type4 and type2 JCC driver and with older type2 CLI driver.

Bundle Information

Version Information

Connector VersionFramework VersionSupported Resource Version(s)
1.0 1.0
  • DB2 9.1
  • DB2 9.5

Note: The "Framework Version" listed is the minimum required framework version for that version of the connector. Newer framework versions are backwards compatible and will support previous connectors.

Configuration Properties

Configuration to access DB2 database. We will support most consistent way how to connect to database. We will support 3 ways how to connect to DB2.

  1. Using java.sql.DataSource when using dataSource jndi name, see datasource properties
  2. Using type 4 driver, when using host,port and database name, see databasename properties
  3. Using type 2 driver, when using local alias, see aliasname properties
  4. See also common properties for all drivers and final notes for all IBM db2 drivers
The above specified order is critical. This means, we will not use any combination, just one of the case in the specified order.

Getting connection from DataSource. Used when dataSource property is set

We will support these properties when connecting to DB2 using dataSource

Getting connection from DriverManager using Type 4 driver. Used when host,port,databaseName property are set

We will support/require these properties when connecting to db2 :

Getting connection from DriverManager using Type 2 driver. Used when databaseName - local alias property is set

We will require these properties when connecting to db2 using local alias

Properties common to all connection options

Note that IBM ships two drivers for DB2. We have tested only these two drivers, no other driver was tested

IBM Net Driver was deprecated in version 8, is not included in version 9. This driver is not supported.

Schema and Supported Features

This Connector supports only ACCOUNT object class. It supports these attributes


The DB2 Connector supports the following operations:

Documentation and Source Code

The javadoc for this bundle is included in the zip file when you download the connector. The source code can be found under the Subversion section of the IdentityConnectors website.