Package org.jdbi.v3.sqlobject.statement
Class BindParameterCustomizerFactory
java.lang.Object
org.jdbi.v3.sqlobject.statement.BindParameterCustomizerFactory
- All Implemented Interfaces:
ParameterCustomizerFactory
Standard implementation of
ParameterCustomizerFactory that delegates to
BindFactory.createForParameter(Annotation, Class, Method, Parameter, int, Type) passing null for Annotation parameter.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateForParameter(Class<?> sqlObjectType, Method method, Parameter param, int index, Type type) Creates parameter customizer used to bind sql statement parameters when parameter is not explicitly annotated
-
Constructor Details
-
BindParameterCustomizerFactory
public BindParameterCustomizerFactory()
-
-
Method Details
-
createForParameter
public SqlStatementParameterCustomizer createForParameter(Class<?> sqlObjectType, Method method, Parameter param, int index, Type type) Description copied from interface:ParameterCustomizerFactoryCreates parameter customizer used to bind sql statement parameters when parameter is not explicitly annotated- Specified by:
createForParameterin interfaceParameterCustomizerFactory- Parameters:
sqlObjectType- sql object class (interface)method- the method which was identified as an SQL methodparam- the parameter to bindindex- the method parameter indextype- the method parameter type- Returns:
- the customizer which will be applied to the generated statement
-