Partager via


Connection.TransactionReadCommitted Field

Definition

Caution

Use 'Java.Sql.IConnection.TransactionReadCommitted'. This class will be removed in a future release.

A constant indicating that dirty reads are prevented; non-repeatable reads and phantom reads can occur.

[Android.Runtime.Register("TRANSACTION_READ_COMMITTED")]
[System.Obsolete("Use 'Java.Sql.IConnection.TransactionReadCommitted'. This class will be removed in a future release.")]
public const int TransactionReadCommitted = 2;
[<Android.Runtime.Register("TRANSACTION_READ_COMMITTED")>]
[<System.Obsolete("Use 'Java.Sql.IConnection.TransactionReadCommitted'. This class will be removed in a future release.")>]
val mutable TransactionReadCommitted : int

Field Value

Value = 2
Attributes

Remarks

A constant indicating that dirty reads are prevented; non-repeatable reads and phantom reads can occur. This level only prohibits a transaction from reading a row with uncommitted changes in it.

Java documentation for java.sql.Connection.TRANSACTION_READ_COMMITTED.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to