Class ConnectionProperty<T>
java.lang.Object
com.google.cloud.spanner.connection.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.