$TWO_PHASE_COMMIT

Enable two-phase commit functionality.

$TWO_PHASE_COMMIT

Defaults

Assignment file: Assignment file of the application or Uniface Server that runs that two-phase commit connector
Section: [SETTINGS]
Default value: None

Description

$TWO_PHASE_COMMIT causes Uniface to use a two-phase commit for those DBMSs which support it. Using a two-phase commit can carry a (DBMS) performance penalty, so it is advisable to use it only with those applications which require it. You do not need to assign a value to $TWO_PHASE_COMMIT.

This setting should be placed in the assignment file of the application or Uniface Server that runs that two-phase commit connector, not necessarily in the client application. The client application always handles two-phase commit logic, regardless of whether the setting is locally defined. However, if there is a local database that supports two-phase commit, the setting should be defined on the client.

Related Topics