次の方法で共有


Connection.TransactionRepeatableRead Field

Definition

Caution

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

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

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

Field Value

Value = 4
Attributes

Remarks

A constant indicating that dirty reads and non-repeatable reads are prevented; phantom reads can occur. This level prohibits a transaction from reading a row with uncommitted changes in it, and it also prohibits the situation where one transaction reads a row, a second transaction alters the row, and the first transaction rereads the row, getting different values the second time (a "non-repeatable read").

Java documentation for java.sql.Connection.TRANSACTION_REPEATABLE_READ.

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