public static class TransactionConfig.Builder
extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
TransactionConfig |
build() |
TransactionConfig.Builder |
setIsolation(Isolation isolation) |
TransactionConfig.Builder |
setNoRollbackForClasses(Class<?>... noRollbackForClasses) |
TransactionConfig.Builder |
setNoRollbackForClassNames(String... noRollbackForClassNames) |
TransactionConfig.Builder |
setPropagation(Propagation propagation) |
TransactionConfig.Builder |
setReadOnly(boolean readOnly) |
TransactionConfig.Builder |
setRollbackForClasses(Class<?>... rollbackForClasses) |
TransactionConfig.Builder |
setRollbackForClassNames(String... rollbackForClassNames) |
TransactionConfig.Builder |
setTimeout(int timeout) |
public TransactionConfig build()
public TransactionConfig.Builder setIsolation(Isolation isolation)
public TransactionConfig.Builder setNoRollbackForClasses(Class<?>... noRollbackForClasses)
public TransactionConfig.Builder setNoRollbackForClassNames(String... noRollbackForClassNames)
public TransactionConfig.Builder setPropagation(Propagation propagation)
public TransactionConfig.Builder setReadOnly(boolean readOnly)
public TransactionConfig.Builder setRollbackForClasses(Class<?>... rollbackForClasses)
public TransactionConfig.Builder setRollbackForClassNames(String... rollbackForClassNames)
public TransactionConfig.Builder setTimeout(int timeout)