Udostępnij za pośrednictwem


IConnection.TransactionSerializable Field

Definition

A constant indicating that dirty reads, non-repeatable reads and phantom reads are prevented.

[Android.Runtime.Register("TRANSACTION_SERIALIZABLE")]
public const int TransactionSerializable = 8;
[<Android.Runtime.Register("TRANSACTION_SERIALIZABLE")>]
val mutable TransactionSerializable : int

Field Value

Value = 8
Attributes

Remarks

A constant indicating that dirty reads, non-repeatable reads and phantom reads are prevented. This level includes the prohibitions in TRANSACTION_REPEATABLE_READ and further prohibits the situation where one transaction reads all rows that satisfy a WHERE condition, a second transaction inserts a row that satisfies that WHERE condition, and the first transaction rereads for the same condition, retrieving the additional "phantom" row in the second read.

Java documentation for java.sql.Connection.TRANSACTION_SERIALIZABLE.

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