Enum TransactionMode

public enum TransactionMode extends Enum<TransactionMode>

Enum used to define the transaction type of a Connection

Fields

NameDescription
READ_ONLY_TRANSACTION
READ_WRITE_TRANSACTION

Methods

NameDescription
getStatementString()

Use this method to get the correct format for use in a SQL statement. The SQL statement for setting the mode to read-only should for example be without the underscore: SET TRANSACTION READ ONLY

toString()
valueOf(String name)
values()