public class SqlObjects extends Object implements JdbiConfig<SqlObjects>
| Constructor and Description |
|---|
SqlObjects() |
| Modifier and Type | Method and Description |
|---|---|
SqlObjects |
createCopy() |
ParameterCustomizerFactory |
getDefaultParameterCustomizerFactory()
Returns the configured
ParameterCustomizerFactory used to bind sql statement parameters
when parameter is not explicitly annotated. |
SqlLocator |
getSqlLocator()
Returns the configured
SqlLocator. |
SqlObjects |
setDefaultParameterCustomizerFactory(ParameterCustomizerFactory defaultParameterCustomizerFactory)
Configures SqlObject to use the given default parameter customizer factory.
|
SqlObjects |
setSqlLocator(SqlLocator sqlLocator)
Configures SqlObject to use the given
SqlLocator. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetRegistrypublic SqlLocator getSqlLocator()
SqlLocator. The default SQL locator is AnnotationSqlLocator.SqlLocator.public SqlObjects setSqlLocator(SqlLocator sqlLocator)
SqlLocator.sqlLocator - the new SQL locator.SqlObjects.public ParameterCustomizerFactory getDefaultParameterCustomizerFactory()
ParameterCustomizerFactory used to bind sql statement parameters
when parameter is not explicitly annotated. By default it is configured as an instance of BindParameterCustomizerFactory.SqlStatementCustomizerFactory.public SqlObjects setDefaultParameterCustomizerFactory(ParameterCustomizerFactory defaultParameterCustomizerFactory)
defaultParameterCustomizerFactory - the new default parameter customizer factory.SqlObjects.public SqlObjects createCopy()
createCopy in interface JdbiConfig<SqlObjects>Copyright © 2020. All rights reserved.