Class ConnectionProperty<T> (6.79.0)

public class ConnectionProperty<T>

ConnectionProperty is a variable for a connection. The total set of connection properties is the state of a connection, and determine the behavior of that connection. For example, a connection with a ConnectionProperty READONLY=true and AUTOCOMMIT=false will use read-only transactions by default, while a connection with READONLY=false and AUTOCOMMIT=false will use read/write transactions.

Connection properties are stored in a ConnectionState instance. ConnectionState can be transactional. That is; changes to a connection property during a transaction will be undone if the transaction is rolled back. Transactional connection state is the default for PostgreSQL-dialect databases. For GoogleSQL-dialect databases, transactional connection state is an opt-in.

Inheritance

Object > ConnectionProperty<T>

Type Parameter

Name Description
T

Methods

equals(Object o)

public boolean equals(Object o)
Parameter
Name Description
o Object
Returns
Type Description
boolean
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

toString()

public String toString()
Returns
Type Description
String
Overrides