IDAIBTransactionAccess

From RemObjects Software

Jump to: navigation, search

This is a Data Abstract Architecture entry
Feel free to add your notes to this topic below.



Overview

This interface extends a generic IDAConnection with options specific to Interbase and Firebird transactions.

File

  • uDAIBInterfaces

Hierarchy

  • IDAIBTransactionAccess

Properties

Property
Type
Description
Transaction TObject Provides to currently active the Interbase transaction object. The actual implementation of this object depends on the underlying driver type; please refer to the driver libraries documentation for more details. This property returns a TObject reference that can be cast to the appropriate transaction object such as TIBTransaction for IBX.


Methods

Method
Description
Commit Commits the currently active transaction. All changes made in the context of the transaction will be permanently applied to the database at this point. The commit will only succeed if all changes can be successfully applied. To discard changes made, instead of persisting them, call Rollback instead.
CommitRetaining Commits the currently active transaction. All changes made in the context of the transaction will be permanently applied to the database at this point. In contrast to Commit, CommitRetaining commits the transaction, but then immediately starts a new one with the same parameters. It also saves the same cursor, so that any dataset retrieval can continue from the same location. Please refer to the Interbase and Firebird documentation for more details on this option.
Rollback Discards the currently active transaction. All changes made in the context of the transaction will be be discarded and not applied to the physical database. To persist the changes made, instead of discarding them, call Commit instead.
RollbackRetaining Discards the currently active transaction. All changes made in the context of the transaction will be be discarded and not applied to the physical database. In contrast to Rollback, RollbackRetaining discards the transaction, but then immediately starts a new one with the same parameters. It also saves the same cursor, so that any dataset retrieval can continue from the same location. Please refer to the Interbase and Firebird documentation for more details on this option.


See Also


Product: RemObjects Data Abstract
Current version: Data Abstract 'Vinci' (5.0)

ListsGlossaryFeaturesHow ToDriversComponentsToolsSamplesArticlesArchitectureIssues

Personal tools