The OracleLogicalTransactionStatus
class provides information on the status of a logical transaction.
This class has been deprecated in ODP.NET 12.1.0.2. It will be desupported in a future release.
System.Object
System.MarshalByRefObject
Oracle.DataAccess.Client.OracleLogicalTransactionStatus
// C# public sealed class OracleLogicalTransactionStatus
Provider | ODP.NET, Unmanaged Driver |
Assembly | Oracle.DataAccess.dll |
Namespace | Oracle.DataAccess.Client |
.NET Framework | 3.5, 4.0, 4.5 |
All public static methods are thread-safe, although instance methods do not guarantee thread safety.
See Also:
OracleLoigcalTransactionStatus
properties are listed in Table 6-94
Table 6-94 OracleLogicalTransactionStatus Properties
Property | Description |
---|---|
Specifies if a transaction was committed |
|
Specifies if the application expects additional data such as PL/SQL out binds or DML to be returned with the COMMIT or if the COMMIT is part way through a PL/SQL |
See Also:
This property returns true
if the transaction was committed.
// C# public bool Committed {get; set;}
bool
Table 6-95 describes the possible outcomes of the Committed
and UserCallCompleted
properties.
Table 6-95 Outcome of OracleLogicalTransactionStatus Properties
Committed Value | UserCallCompleted Value | Outcome |
---|---|---|
|
|
The call did not execute the commit. |
|
|
The call did execute the commit and there was no additional information to return and no more work to do if that call was a PL/SQL procedure. |
|
|
The transaction is committed, but the information returned may be incomplete and/or not all expected work was completed. Examples of incomplete information or incomplete work done include: the number of rows modified when using autocommit or commit on success, parameter and function results when calling PL/SQL procedures, or PL/SQL procedures with more work to do after the commit. In order to function correctly, .NET applications that use data returned from the commit must check the |
This property returns true
if the application expects additional data such as PL/SQL out binds or DML to be returned with the commit or if the commit is part way through a PL/SQL procedure.
// C# public bool UserCallCompleted {get; set;}
bool
Table 6-95 describes the possible outcomes of the Committed
and UserCallCompleted
properties.