company logo

DataSourceHandle :: BeginTransaction - Start transaction for the data source

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

Using nested transactions is possible with the DBObjectHandle .

For running very long transactions, the external transaction option should be passed as YES . External transactions provide an external storage for storing the transaction.

Return value:  Success ( logical  )

Implementation details

logical DataSourceHandle  :: BeginTransaction ( logical ext_ta=NO )
  • ext_ta - External Transaction

    The option indicates that updates made within the transaction should be stored on a disk. This option should be set when the transaction is a long transaction that held many (i.e. 100 000) or more updates in the transaction.

    Default: NO