Skip to content

Database Connector

Overview

The Database connector is a system-provided connector that exposes data from a single database table.

This connector can read and write from a target database table.

Technical Requirements

A supported database provider and a functioning target database. Built-in agents are available for SQL Server, PostgreSQL, Oracle Database, and OLE DB.

Usage

A Database connector encapsulates the data in a single database table.

ReadingYes
WritingYes
DeletingNo
PollingYes (when configured)

Schema

Fields in a Database connector schema refer to individual columns in the target table of the same name.

Taking the following database table as an example:

image

TIP

The available schema fields would be id, name, and dob

The schema provider for this connector will retrieve the available headings with the best-fit UNIFYConnect value types.

image

WARNING

If the account used to connect to the database does not have permission to read the table, the connector cannot retrieve its schema and the schema request returns no fields.

Configuration

The database connector requires the following by way of configuration.

image

NameDescription
Queue When BlockedWhether the jobs for this connector should be queued to run, in the event that they are blocked {e.g. in an Exclusion group with a running connector, or the connector is already running a job}.
Delete ThresholdThe number of items that are allowed to be deleted on completion of a full import, as a percentage. E.g. 100% will let an import delete all objects, whereas a setting of 0% will fail the import if any objects are deleted.
Database AgentThe database agent that provides the connection details. Built-in options support SQL Server, PostgreSQL, Oracle Database, and OLE DB.
SchemaThe schema of the target database object. The value must be provided if the database object is contained within a schema container other than DBO. Prior to SQL Server 2005 this was known as the owner. See https://technet.microsoft.com/en-us/library/ms190387.aspx for details.
TableThe name of the requested table on the target database.
FilterThe filter applied when data is requested, expressed as a SQL WHERE condition; for example, firstName = 'James' OR surname = 'Harris'.
OrdersThe ordering applied when data is requested, expressed as a SQL ORDER BY clause; for example, firstName ASC, surname DESC.
Read ThresholdThe threshold at which some operations favour retrieving all items over retrieving specific items. It is also used for the number of items that are saved at a time for identity management platforms supporting batched saves.
Modified ColumnThe name of a datetime-based column in the table. Allows the connector to perform import changes (polling) operations. The field must be included in the schema.