RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TIBTransaction.CommitRetaining Method

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

Pascal
procedure CommitRetaining;
C++
__fastcall CommitRetaining();

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.
 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!