company logo

DataSource :: beginTransaction - Start transaction for the data source

Data sources provide simple transaction control. Data source transactions cannot be nested, i.e. when a transaction has been started, no other transaction can be started for the data source.

Using nested transactions is possible with the ObjectSpace handle.

For running very long transactions, the external transaction option should be passed as true. External transactions use external storage for storing the transaction.

Implementation details

DataSource  :: beginTransaction ( bool bExternalTA )
  • bExternalTA - External transaction

    In order to start the transaction as external transaction, true must be passed. For an external transaction all modification are stored to an external transaction base. When passing false the transaction is started as internal transaction, i.e. the modifications are stored in memory.