Skip to content

Data Connection Register

The Data Connection Register contains information regarding the application, i.e. the i-refactory, the databases and the connections.

To retrieve the current state of each application element, i.e., all the metadata related to that element, you can use the i-refactory REST API or the following views available in the Data Connection Register:

  • [acm_datacon].[application] returns the current state of the metadata regarding the application, including: ddl_version, application_version, schema_version, schema_support_version.

  • [acm_datacon].[connection] returns the current state of the metadata regarding the connections, including: [max_concurrent_entity_updates], [max_reserved_entity_updates] and [max_concurrent_requests], [sql_version] as well as the driver connection properties (Tedious connection driver).

  • [acm_datacon].[database] returns the current state of the metadata regarding the i-refactory databases.

Info

Tedious is a node package that provides an implementation of the TDS protocol, which is used to interact with instances of Microsoft's SQL Server.

Example - How to query the Data Connection Register using a view

-- Select details of the application
SELECT id
      ,code
      ,name
      ,ddl_version
      ,application_version
      ,schema_version
      ,supports_schema_version
      ,acm_exists_ind
      ,acm_last_created_dt
      ,acm_start_dt
      ,acm_end_dt
      ,acm_record_ind
      ,acm_modifier_id
      ,acm_entity_id
  FROM ACME.acm_datacon.application
;