Class BindParameterCustomizerFactory

All Implemented Interfaces:

public class BindParameterCustomizerFactory extends Object implements ParameterCustomizerFactory
Standard implementation of ParameterCustomizerFactory that delegates to BindFactory.createForParameter(Annotation, Class, Method, Parameter, int, Type) passing null for Annotation parameter.
  • 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: ParameterCustomizerFactory
      Creates parameter customizer used to bind sql statement parameters when parameter is not explicitly annotated
      Specified by:
      createForParameter in interface ParameterCustomizerFactory
      sqlObjectType - sql object class (interface)
      method - the method which was identified as an SQL method
      param - the parameter to bind
      index - the method parameter index
      type - the method parameter type
      the customizer which will be applied to the generated statement