Enum TransactionMode (6.25.0)

public enum TransactionMode extends Enum<TransactionMode>

Enum used to define the transaction type of a Connection

Static Fields

NameDescription
READ_ONLY_TRANSACTION
READ_WRITE_TRANSACTION

Static Methods

NameDescription
valueOf(String name)
values()

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()