TSQLTransaction.CommitRetaining procedure
Commit the transaction, retain transaction context.
Declaration
procedure CommitRetaining; overrideDescription
CommitRetaining commits an active transaction. The changes will be
irreversibly written to the database.
After this, the transaction is still active. To commit data and deactivate the transaction, execute Commit instead.
Errors
Executing
CommitRetaining when no transaction is active will result in an
exception.
A transaction must be started by calling
StartTransaction.
If the database backend reports an error, an exception is raised as well.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
