[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Commit the transaction, retain transaction context.
Source position: sqldb.pp line 332
public procedure TSQLTransaction.CommitRetaining; override; |
CommitRetaining commits an active transaction. The changes will be irreversably written to the database.
After this, the transaction is still active. To commit data and deactivate the transaction, execute Commit instead.
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.
|
Start a new transaction |
|
|
Commit the transaction, end transaction context. |
|
|
Roll back all changes made in the current transaction. |
|
|
Roll back changes made in the transaction, keep transaction context. |