Class DefineFactory

    • Constructor Detail

      • DefineFactory

        public DefineFactory()
    • Method Detail

      • 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