Uses of Package
org.jdbi.v3.core.statement
Package
Description
The 'core' package hosts the top level interface into jdbi core.
The
argument
classes translate Java types into JDBC parameters.
The
config
classes define a configuration registry starting from
each Jdbi
instance.mapper
s take the JDBC ResultSet and produce Java results.mapper.reflect
provides RowMappers that reflectively
construct result types using techniques like constructor injection
or JavaBeans setters.result
provides the streaming interface that reads rows from JDBC
and drives the mapper
and collector
processes to
produce results.
The
statement
package provides most of the Fluent API
to drive statement execution.freemarker
provides advanced string template processing.joda-time
provides improved date and time types to pre-Java 8 applications.
The
jpa
plugin provides minimal support for discovering JPA
annotations like Column
.
The
postgres
plugin provides improved support for
java.time
, hstore
, uuid
, and enum
types when configured with a recent Postgres database server.
The
sqlobject.customizer
package provides annotations
that customize the execution of a statement.stringtemplate4
provides advanced string template processing
that Jdbi
can drive with the statement's bound parameters
and context to drive statement generation that may need to bind
variable number of parameters or other advanced use cases.-
ClassDescriptionThe statement context provides access to statement-local configuration.Renders an SQL statement from a template.
-
ClassDescriptionRepresents a group of non-prepared statements to be sent to the RDMBS in one "request".Used for invoking stored procedures.Represents a prepared batch statement.Statement providing convenience result handling for SQL queries.Represents a number of SQL statements delimited by semicolon which will be executed in order in a batch statement.Used to convert translated SQL into a prepared statement.Used to specify how prepared statements are built.Used for INSERT, UPDATE, and DELETE statements
-
ClassDescriptionThe statement context provides access to statement-local configuration.
-
ClassDescriptionThe statement context provides access to statement-local configuration.
-
ClassDescriptionSqlLoggers receive query data before and after a query is executed, and after an exception is thrown by a bad query.Parses the named parameters out of an SQL statement, and returns the
ParsedSql
containing the JDBC-ready SQL statement, along with the type of parameters used (named or positional), the number, and the parameter name for each position (if applicable).The statement context provides access to statement-local configuration.Allows tweaking of statement behaviour.Renders an SQL statement from a template. -
ClassDescriptionThe statement context provides access to statement-local configuration.
-
ClassDescriptionThe statement context provides access to statement-local configuration.
-
ClassDescriptionThe statement context provides access to statement-local configuration.
-
ClassDescriptionThe statement context provides access to statement-local configuration.Superclass for exceptions thrown while trying to execute a statement.
-
ClassDescriptionThe statement context provides access to statement-local configuration.
-
ClassDescriptionRepresents a group of non-prepared statements to be sent to the RDMBS in one "request".Represents the arguments bound to a particular statement.Used for invoking stored procedures.Map an
OUT
parameter in a callable statement to a result type.Cleans up some JDBC resource e.g.describes what should be done if the value passed toSqlStatement.bindList(java.lang.String, java.lang.Object...)
is null or emptyRepresents output from a Call (CallableStatement).The parsed parameters from an SQL statement.The SQL and parameters parsed from an SQL statement.Fluent builder for ParsedSql instances.Represents a prepared batch statement.Statement providing convenience result handling for SQL queries.SqlLoggers receive query data before and after a query is executed, and after an exception is thrown by a bad query.Parses the named parameters out of an SQL statement, and returns theParsedSql
containing the JDBC-ready SQL statement, along with the type of parameters used (named or positional), the number, and the parameter name for each position (if applicable).This class provides the common functions betweenQuery
andUpdate
.Configuration holder forSqlStatement
s.Used to convert translated SQL into a prepared statement.Used to specify how prepared statements are built.The statement context provides access to statement-local configuration.Allows tweaking of statement behaviour.Superclass for exceptions thrown while trying to execute a statement.Configuration forStatementException
and subclasses behavior.Control exception message generation.Renders an SQL statement from a template. -
ClassDescriptionRepresents the arguments bound to a particular statement.The statement context provides access to statement-local configuration.
-
ClassDescriptionThe statement context provides access to statement-local configuration.Renders an SQL statement from a template.
-
ClassDescriptionThe statement context provides access to statement-local configuration.
-
ClassDescriptionThe statement context provides access to statement-local configuration.
-
ClassDescriptionThe statement context provides access to statement-local configuration.Superclass for exceptions thrown while trying to execute a statement.
-
ClassDescriptionThe statement context provides access to statement-local configuration.
-
ClassDescriptiondescribes what should be done if the value passed to
SqlStatement.bindList(java.lang.String, java.lang.Object...)
is null or emptyThis class provides the common functions betweenQuery
andUpdate
. -
ClassDescriptionThe statement context provides access to statement-local configuration.Renders an SQL statement from a template.