ODAC

TOraSession.StartTransaction Method

Begins a new user transaction against the database server.

Class

TOraSession

Syntax

procedure StartTransaction(IsolationLevel: TOraIsolationLevel; const RollbackSegment: string = ''; const Name: string = ''); reintroduce; overload;

Parameters
IsolationLevel
Specifies how the transactions containing database modifications are handled.
RollbackSegment
Holds the rollback segment to assign the current transaction to.
Name
Holds the current transaction name.

Remarks

Specify the RollbackSegment parameter to assign the current transaction to the specified rollback segment. This clause also implicitly establishes the transaction as a read/write transaction.

The Name parameter is useful in distributed database environments when you must identify and resolve in-doubt transactions. The text string is limited to 255 bytes.

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