Class AllowUnusedBindingsFactory

    • Constructor Detail

      • AllowUnusedBindingsFactory

        public AllowUnusedBindingsFactory()
    • Method Detail

      • createForMethod

        public SqlStatementCustomizer createForMethod​(java.lang.annotation.Annotation annotation,
                                                      java.lang.Class<?> sqlObjectType,
                                                      java.lang.reflect.Method method)
        Description copied from interface: SqlStatementCustomizerFactory
        Used to create customizers for annotations on methods.
        Specified by:
        createForMethod 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
        Returns:
        the customizer which will be applied to the generated statement
      • createForType

        public SqlStatementCustomizer createForType​(java.lang.annotation.Annotation annotation,
                                                    java.lang.Class<?> sqlObjectType)
        Description copied from interface: SqlStatementCustomizerFactory
        Used to create customizers for annotations on sql object interfaces
        Specified by:
        createForType in interface SqlStatementCustomizerFactory
        Parameters:
        annotation - the annotation which lead to the method being called
        sqlObjectType - sql object class (interface)
        Returns:
        the customizer which will be applied to the generated statement