public static class SqlTransactionFactory.Builder
extends java.lang.Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
SqlTransactionFactory |
build()
Builds a
SqlTransactionFactory object with the specified configurations. |
SqlTransactionFactory.Builder |
withConnectionMode(java.lang.String connectionMode)
Specifies a connection mode.
|
SqlTransactionFactory.Builder |
withProperties(java.util.Properties properties)
Adds properties.
|
SqlTransactionFactory.Builder |
withPropertiesFile(java.nio.file.Path path)
Specifies a properties file path.
|
SqlTransactionFactory.Builder |
withPropertiesFile(java.lang.String path)
Specifies a properties file path.
|
SqlTransactionFactory.Builder |
withProperty(java.lang.String name,
java.lang.String value)
Adds a property.
|
public SqlTransactionFactory.Builder withPropertiesFile(java.lang.String path)
path
- a properties file pathpublic SqlTransactionFactory.Builder withPropertiesFile(java.nio.file.Path path)
path
- a properties file pathpublic SqlTransactionFactory.Builder withProperty(java.lang.String name, java.lang.String value)
name
- a property namevalue
- a property valuepublic SqlTransactionFactory.Builder withProperties(java.util.Properties properties)
properties
- properties to addpublic SqlTransactionFactory.Builder withConnectionMode(java.lang.String connectionMode)
connectionMode
- a connection modepublic SqlTransactionFactory build()
SqlTransactionFactory
object with the specified configurations.SqlTransactionFactory
object