Uses of Class
org.jdbi.v3.core.statement.SqlStatement
Package
Description
The
statement
package provides most of the Fluent API
to drive statement execution.
The
sqlobject.customizer
package provides annotations
that customize the execution of a statement.-
Uses of SqlStatement in org.jdbi.v3.core.statement
Modifier and TypeClassDescriptionclass
SqlStatement<This extends SqlStatement<This>>
This class provides the common functions betweenQuery
andUpdate
.Modifier and TypeClassDescriptionclass
Used for invoking stored procedures.class
Represents a prepared batch statement.class
Statement providing convenience result handling for SQL queries.class
Represents a number of SQL statements delimited by semicolon which will be executed in order in a batch statement.class
Used for INSERT, UPDATE, and DELETE statementsModifier and TypeClassDescriptionenum
describes what should be done if the value passed tobindList(java.lang.String, java.lang.Object...)
is null or emptyModifier and TypeMethodDescriptionfinal This
SqlStatement.bindList
(BiConsumer<SqlStatement, String> onEmpty, String key, Iterable<?> values) final This
SqlStatement.bindList
(BiConsumer<SqlStatement, String> onEmpty, String key, Object... values) final This
SqlStatement.bindList
(BiConsumer<SqlStatement, String> onEmpty, String key, Iterator<?> values) final This
SqlStatement.bindList
(BiConsumer<SqlStatement, String> onEmpty, String key, List<?> values) Bind a parameter for each value in the given list, and defines an attribute as the comma-separated list of parameter references (using colon prefix). -
Uses of SqlStatement in org.jdbi.v3.sqlobject.customizer
Modifier and TypeMethodDescriptionvoid
SqlStatementCustomizer.apply
(SqlStatement<?> q) Invoked to customize the sql statementvoid
SqlStatementParameterCustomizer.apply
(SqlStatement<?> stmt, Object arg) Applies the customization to the SQL statement using the argument passed to the method.void
BindList.EmptyHandling.define
(SqlStatement stmt, String name) Deprecated.legacy internal API