IBX.IBDatabase.TIBTransaction.CommitRetaining

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure CommitRetaining;

C++

void __fastcall CommitRetaining();

Properties

Type Visibility Source Unit Parent
procedure
function
public
IBX.IBDatabase.pas
IBX.IBDatabase.hpp
IBX.IBDatabase TIBTransaction

Description

Commits the active transaction and retains the transaction context after a commit.

Call CommitRetaining to permanently store to the database server all updates, insertions, and deletions of data associated with the current transaction and then retain the transaction context. The current transaction is the last transaction started by calling StartTransaction.

Note: Before calling CommitRetaining, an application may check the status of the InTransaction property. If an application calls CommitRetaining and there is no current transaction, an exception is raised.