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
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 annotatedIterable
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 emptyBinds the entries of aMap<String, Object>
to a SQL statement.Binds each method for each value in the annotatedIterable
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 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@SqlCall
annotated method.Specify the query timeout in seconds.Used withSqlStatementCustomizerFactory
to customize sql statements via annotations.Interface used in conjunction withSqlStatementCustomizingAnnotation
to generateSqlStatementCustomizer
instances.Annotation used to build customizing annotations.Customize aSqlStatement
according to the value of an annotated parameter.Binds the named parameter:now
or a custom named parameter with the current DateTime as anOffsetDateTime
.Configuration forTimestamped
.