C Commit
Commit transaction.
Modes
None.
Conditions
The connector is logged on to the DBMS.
Description
This request commits the transaction on the current logon path.
Uniface has no built-in knowledge of the transaction concept because this is a concept
which has to be managed by the underlying DBMS. A commit is only requested when the ProcScript
commit statement is executed, and a rollback
is only requested
when the ProcScript rollback statement is executed.
The conventional meaning of commit is to signal successful completion of a transaction to the DBMS. The DBMS then makes all pending changes on the current logon path in the database permanent and releases all locks. The conventional meaning of rollback is to signal unsuccessful completion of a transaction to the DBMS. The DBMS then undoes all pending changes on the current logon path and releases all locks.
Uniface does not start a new transaction explicitly. If the DBMS requires an explicit start of transaction, this is issued by the connector after a rollback or successful commit (and after a failed commit when the DBMS implicitly performs a rollback).