IBDAC

TIBCConnection.AutoCommit Property

Used to permit or prevent permanent updates, insertions, and deletions of data associated with the current transaction against the database server.

Class

TIBCConnection

Syntax

property AutoCommit: boolean;

Remarks

Use the AutoCommit property to permit or prevent permanent updates, insertions, and deletions of data associated with the current transaction against the database server without explicit calls to Commit or Rollback methods.

Set AutoCommit to True to permit implicit call to Commit method after every database access.

AutoCommit property in TIBCConnection has higher precedence over the same properties in dataset components

The default value is True.

Note: The AutoCommit property in TIBCConnection globally specifies whether all queries to modify database are implicitly committed or not. Components which descend from TCustomDADataSet and TCustomDASQL classes inherit their AutoCommit properties. This allows them to selectively specify their implicit transaction committing behavior after each data modifying access.

See Also

© 1997-2022 Devart. All Rights Reserved. Request Support DAC Forum Provide Feedback