TurboDB VCL Component Library



Previous  Top  Next

Begins a transaction.

Delphi syntax:

procedure StartTransaction;

C++ syntax:

void __fastcall StartTransaction(void);


Use StartTransaction to begin a new transaction with isolation level read committed. Since TurboDB can only have one active transaction per database session at given time, the procedure will throw an exception, if there is already a transaction running. Call Commit or Rollback to end a transaction.