Java.Sql.Connection Members

The members of Java.Sql.Connection are listed below.

See Also: Inherited members from System.Object

Public Fields

const
TransactionNoneint (0). A constant indicating that transactions are not supported.
const
TransactionReadCommittedint (2). No dirty reads are permitted, therefore transactions may not read a row containing uncommitted values - but does not prevent an application from non-repeatable reads and phantom reads.
const
TransactionReadUncommittedint (1). In the case that reading uncommitted values is allowed, the following incidents may happen which may lead to an invalid results:
  • dirty reads
  • non-repeatable reads
  • phantom reads
const
TransactionRepeatableReadint (4). A constant indicating that dirty reads and non-repeatable reads are prevented but phantom reads can occur.
const
TransactionSerializableint (8). The constant that indicates that the following incidents are all prevented (the opposite of Connection.TransactionReadUncommitted):
  • dirty reads
  • non-repeatable reads
  • phantom reads