public interface TransactionDefinition
Connection.beginTransaction(TransactionDefinition).Connection.beginTransaction(TransactionDefinition), 
Option| Modifier and Type | Field and Description | 
|---|---|
| static Option<IsolationLevel> | ISOLATION_LEVELIsolation level requested for the transaction. | 
| static Option<Duration> | LOCK_WAIT_TIMEOUTLock wait timeout. | 
| static Option<String> | NAMEName of the transaction. | 
| static Option<Boolean> | READ_ONLYThe transaction mutability (i.e. | 
| Modifier and Type | Method and Description | 
|---|---|
| <T> T | getAttribute(Option<T> option)Retrieve a transaction attribute by its  Optionidentifier. | 
static final Option<IsolationLevel> ISOLATION_LEVEL
static final Option<Boolean> READ_ONLY
@Nullable <T> T getAttribute(Option<T> option)
Option identifier.  This low-level interface allows querying transaction attributes supported by the Connection that should be applied
 when starting a new transaction.T - requested value typeoption - the option to retrieve the value fornull to indicate absence of the attribute.IllegalArgumentException - if name or type is nullCopyright © 2021. All rights reserved.