Package org.jdbi.v3.sqlobject
Class SqlObjects
java.lang.Object
org.jdbi.v3.sqlobject.SqlObjects
- All Implemented Interfaces:
- JdbiConfig<SqlObjects>
Configuration class for SQL objects.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionReturns a copy of this configuration object.Returns the configuredParameterCustomizerFactoryused to bind sql statement parameters when parameter is not explicitly annotated.Returns the configuredSqlLocator.setDefaultParameterCustomizerFactory(ParameterCustomizerFactory defaultParameterCustomizerFactory) Configures SqlObject to use the given default parameter customizer factory.setSqlLocator(SqlLocator sqlLocator) Configures SqlObject to use the givenSqlLocator.Methods inherited from class java.lang.Objectequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jdbi.v3.core.config.JdbiConfigsetRegistry
- 
Constructor Details- 
SqlObjectspublic SqlObjects()
 
- 
- 
Method Details- 
getSqlLocatorReturns the configuredSqlLocator. The default SQL locator isAnnotationSqlLocator.- Returns:
- the configured SqlLocator.
 
- 
setSqlLocatorConfigures SqlObject to use the givenSqlLocator.- Parameters:
- sqlLocator- the new SQL locator.
- Returns:
- this SqlObjects.
 
- 
getDefaultParameterCustomizerFactoryReturns the configuredParameterCustomizerFactoryused to bind sql statement parameters when parameter is not explicitly annotated. By default it is configured as an instance ofBindParameterCustomizerFactory.- Returns:
- the configured SqlStatementCustomizerFactory.
 
- 
setDefaultParameterCustomizerFactorypublic SqlObjects setDefaultParameterCustomizerFactory(ParameterCustomizerFactory defaultParameterCustomizerFactory) Configures SqlObject to use the given default parameter customizer factory.- Parameters:
- defaultParameterCustomizerFactory- the new default parameter customizer factory.
- Returns:
- this SqlObjects.
 
- 
createCopyDescription copied from interface:JdbiConfigReturns a copy of this configuration object. Changes to the copy should not modify the original, and vice-versa.- Specified by:
- createCopyin interface- JdbiConfig<SqlObjects>
- Returns:
- a copy of this configuration object.
 
 
-