T - the type of the result of all set methods for method chainingpublic interface DatabaseBuilderProperties<T>
Definition of a properties interface for parameters of a database configuration.
 The properties defined by this interface are used to configure a
 DatabaseConfiguration instance. They mainly specify the database
 tables containing configuration properties. Note that many properties are
 mandatory; they must be provided, otherwise the builder for database
 configurations throws an exception.
 
Important note: This interface is not intended to be implemented by client code! It defines a set of available properties and may be extended even in minor releases.
| Modifier and Type | Method and Description | 
|---|---|
T | 
setAutoCommit(boolean f)
Enables or disable auto commit mode. 
 | 
T | 
setConfigurationName(String name)
Sets the name of this configuration instance. 
 | 
T | 
setConfigurationNameColumn(String name)
Sets the name of the table column containing the configuration name. 
 | 
T | 
setDataSource(DataSource src)
Sets the data source for the database configuration. 
 | 
T | 
setKeyColumn(String name)
Sets the name of the table column containing configuration keys. 
 | 
T | 
setTable(String tname)
Sets the name of the table containing configuration data. 
 | 
T | 
setValueColumn(String name)
Sets the name of the table column containing the configuration property
 value. 
 | 
T setDataSource(DataSource src)
src - the data source for the database configurationT setTable(String tname)
tname - the name of the table with configuration dataT setKeyColumn(String name)
name - the column nameT setValueColumn(String name)
name - the column nameT setConfigurationNameColumn(String name)
name - the column nameT setConfigurationName(String name)
name - the name of this configuration instanceT setAutoCommit(boolean f)
f - the value of the auto commit flagCopyright © 2001–2020 The Apache Software Foundation. All rights reserved.