public final class TxConfig
extends java.lang.Object
| Constructor and Description |
|---|
TxConfig() |
| Modifier and Type | Method and Description |
|---|---|
org.jdbi.v3.core.transaction.TransactionIsolationLevel |
getLevel() |
boolean |
isLevelSet() |
boolean |
isReadOnly() |
TxConfig |
level(org.jdbi.v3.core.transaction.TransactionIsolationLevel level) |
TxConfig |
readOnly(boolean readOnly) |
public org.jdbi.v3.core.transaction.TransactionIsolationLevel getLevel()
public boolean isReadOnly()
public boolean isLevelSet()
public TxConfig level(org.jdbi.v3.core.transaction.TransactionIsolationLevel level)
level - transaction isolation levelpublic TxConfig readOnly(boolean readOnly)
readOnly - true for read only transaction