IBX.IBDatabase.TAutoStopAction
Delphi
TAutoStopAction = (saNone, saRollback, saCommit, saRollbackRetaining, saCommitRetaining);
C++
enum DECLSPEC_DENUM TAutoStopAction : unsigned char { saNone, saRollback, saCommit, saRollbackRetaining, saCommitRetaining };
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
enum | public | IBX.IBDatabase.pas IBX.IBDatabase.hpp |
IBX.IBDatabase | IBX.IBDatabase |
Description
TAutoStopAction indicates the action to take on automatically ended transactions.
TAutoStopAction values are listed in the following table.
Value | Meaning |
---|---|
saNone |
Transactions are not implicitly stopped. |
saRollback |
Transactions are rolled back and closed when stopped implicitly. |
saCommit |
Transactions are committed and closed when stopped implicitly. |
saRollbackRetaining |
Transactions are not stopped when the last dataset closes, but all updates, insertions, and deletions of data associated with the current transaction are backed out. This option is only supported in InterBase 6.0 and later. |
saCommitRetaining |
Transactions are not stopped when the last dataset closes, but all updates, insertions, and deletions of data associated with the current transaction are committed. |