語言

Connection.TransactionRepeatableRead 欄位

定義

警告

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

一個常數表示防止髒讀和不可重複讀取;幻影讀取可能會發生。

[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

欄位值

Value = 4
屬性

備註

一個常數表示防止髒讀和不可重複讀取;幻影讀取可能會發生。 此層級禁止交易讀取未承諾變更的列,也禁止一筆交易讀取一列,第二筆交易修改該列,第一筆交易重讀該列,第二次取得不同值(即「不可重複讀取」)的情況。

Java 文件 java.sql.Connection.TRANSACTION_REPEATABLE_READ

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於