Class BindPojoFactory

java.lang.Object
org.jdbi.v3.sqlobject.customizer.internal.BindPojoFactory
All Implemented Interfaces:
SqlStatementCustomizerFactory

public class BindPojoFactory extends Object implements SqlStatementCustomizerFactory
  • Constructor Details

    • BindPojoFactory

      public BindPojoFactory()
  • Method Details

    • createForParameter

      public SqlStatementParameterCustomizer createForParameter(Annotation annotation, Class<?> sqlObjectType, Method method, Parameter param, int index, Type type)
      Description copied from interface: SqlStatementCustomizerFactory
      Used to create customizers for annotations on parameters
      Specified by:
      createForParameter in interface SqlStatementCustomizerFactory
      Parameters:
      annotation - the annotation which lead to the method being called
      sqlObjectType - sql object class (interface)
      method - the method which was annotated
      param - the parameter which was annotated
      index - the method parameter index
      type - the type of the parameter
      Returns:
      the customizer which will be applied to the generated statement