Enum TransactionMode (6.74.1)

public enum TransactionMode extends Enum<TransactionMode>

Enum used to define the transaction type of a Connection

Static Fields

Name Description
READ_ONLY_TRANSACTION
READ_WRITE_TRANSACTION

Static Methods

Name Description
valueOf(String name)
values()

Methods

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