Package org.jdbi.v3.sqlobject.customizer


package org.jdbi.v3.sqlobject.customizer

The sqlobject.customizer package provides annotations that customize the execution of a statement. The most common utility is binding parameters with @Bind but there are also miscellaneous JDBC options supported here such as timeouts and fetch size.

  • Class
    Description
    Suppresses error when bindings are created but never used in the query.
    Binds the annotated argument as a named parameter, and as a positional parameter.
    Binds the properties of a JavaBean to a SQL statement.
    Binds each property for each value in the annotated Iterable or array/varargs argument, and defines a named attribute as a comma-separated list of each bound parameter name.
    Binds the properties and public fields of an object to a SQL statement.
    Binds each value in the annotated Iterable or array/varargs argument, and defines a named attribute as a comma-separated list of each bound parameter name.
    describes what needs to be done if the passed argument is null or empty
    Binds the entries of a Map<String, Object> to a SQL statement.
     
    Binds each method for each value in the annotated Iterable or array/varargs argument, and defines a named attribute as a comma-separated list of each bound method name.
    Binds the properties of an object to a SQL statement.
    Defines a named attribute as the argument passed to the annotated parameter.
    Defines a named attribute as a comma-separated String from the elements of the annotated array or List argument.
    Defines all bound arguments that don't already have a definition.
    Annotate a SqlObject type, method, or field as @Definition in order to define an attribute for all SqlObject methods in the same type.
     
    Specify batch size to fetch resulting rows in.
    Used to specify the maximum number of rows to return on a result set.
    Declare a named out parameter on an @SqlCall annotated method.
     
    Specify the query timeout in seconds.
    Used with SqlStatementCustomizerFactory to customize sql statements via annotations.
    Interface used in conjunction with SqlStatementCustomizingAnnotation to generate SqlStatementCustomizer instances.
    Annotation used to build customizing annotations.
    Customize a SqlStatement according to the value of an annotated parameter.
    Binds the named parameter :now or a custom named parameter with the current DateTime as an OffsetDateTime.
    Configuration for Timestamped.