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.
-
ClassDescriptionSuppresses 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
Iterableor 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 annotatedIterableor 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 emptyBinds the entries of aMap<String, Object>to a SQL statement.Binds each method for each value in the annotatedIterableor 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 all bound arguments that don't already have a definition.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@SqlCallannotated method.Specify the query timeout in seconds.Used withSqlStatementCustomizerFactoryto customize sql statements via annotations.Interface used in conjunction withSqlStatementCustomizingAnnotationto generateSqlStatementCustomizerinstances.Annotation used to build customizing annotations.Customize aSqlStatementaccording to the value of an annotated parameter.Binds the named parameter:nowor a custom named parameter with the current DateTime as anOffsetDateTime.Configuration forTimestamped.