Connection.TransactionReadUncommitted 字段

定义

注意

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

一个常量,指示可能发生脏读取、不可重复读取和虚拟读取。

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

字段值

Value = 1
属性

注解

一个常量,指示可能发生脏读取、不可重复读取和虚拟读取。 此级别允许一个事务更改的行在提交该行中的任何更改之前由另一个事务读取(“脏读取”)。 如果回滚任何更改,第二个事务将检索无效行。

Java文档java.sql.Connection.TRANSACTION_READ_UNCOMMITTED

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于