Connection#beginTransaction(TransactionDefinition).
Connection#beginTransaction(TransactionDefinition), Option
| Modifier and Type | Field and Description |
|---|---|
| public static final Option | ISOLATION_LEVEL
Isolation level requested for the transaction. |
| public static final Option | LOCK_WAIT_TIMEOUT
Lock wait timeout. |
| public static final Option | NAME
Name of the transaction. |
| public static final Option | READ_ONLY
The transaction mutability (i.e. whether the transaction should be started in read-only mode). |
| Modifier and Type | Method and Description |
|---|---|
| public < requested value type T> T | Returns: the value of the transaction attribute. Can benull to indicate absence of the attribute.the option to retrieve the value for option)Retrieve a transaction attribute by its |
| ISOLATION_LEVEL | back to summary |
|---|---|
| public static final Option<IsolationLevel> ISOLATION_LEVEL Isolation level requested for the transaction. | |
| LOCK_WAIT_TIMEOUT | back to summary |
|---|---|
| public static final Option<Duration> LOCK_WAIT_TIMEOUT Lock wait timeout. | |
| NAME | back to summary |
|---|---|
| public static final Option<String> NAME Name of the transaction. | |
| READ_ONLY | back to summary |
|---|---|
| public static final Option<Boolean> READ_ONLY The transaction mutability (i.e. whether the transaction should be started in read-only mode). | |
| getAttribute | back to summary |
|---|---|
| public <T> T getAttribute(Option<T> option) Retrieve a transaction attribute by its
| |