statement package provides most of the Fluent API
to drive statement execution.See: Description
| Interface | Description |
|---|---|
| CallableStatementMapper |
Map an
OUT parameter in a callable statement to a result type. |
| Cleanable |
Cleans up some JDBC resource e.g.
|
| SqlParser |
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). |
| StatementBuilder |
Used to convert translated SQL into a prepared statement.
|
| StatementBuilderFactory |
Used to specify how prepared statements are built.
|
| StatementCustomizer |
Allows tweaking of statement behaviour.
|
| TemplateEngine |
Renders an SQL statement from a template.
|
| TimingCollector |
This class collects timing information for statement execution.
|
| Class | Description |
|---|---|
| Batch |
Represents a group of non-prepared statements to be sent to the RDMBS in one "request".
|
| Binding |
Represents the arguments bound to a particular statement.
|
| Call |
Used for invoking stored procedures.
|
| ColonPrefixSqlParser |
SQL parser which recognizes named parameter tokens of the form
:tokenName |
| DefaultStatementBuilder |
A StatementBuilder which will always create a new PreparedStatement.
|
| DefinedAttributeTemplateEngine |
Template engine which replaces angle-bracketed tokens like
<name> with the string value of the named attribute. |
| HashPrefixSqlParser |
SQL parser which recognizes named parameter tokens of the form
#tokenName. |
| OutParameters |
Represents output from a Call (CallableStatement).
|
| ParsedParameters |
The parsed parameters from an SQL statement.
|
| ParsedSql |
The SQL and parameters parsed from an SQL statement.
|
| ParsedSql.Builder |
Fluent builder for ParsedSql instances.
|
| PreparedBatch |
Represents a prepared batch statement.
|
| Query |
Statement providing convenience result handling for SQL queries.
|
| Script |
Represents a number of SQL statements which will be executed in a batch statement.
|
| SqlStatement<This extends SqlStatement<This>> |
This class provides the common functions between
Query and
Update. |
| SqlStatements |
Configuration holder for
SqlStatements. |
| StatementContext |
The statement context provides access to statement-local configuration.
|
| StatementCustomizers |
Some simple
StatementCustomizers you might find handy. |
| Update |
Used for INSERT, UPDATE, and DELETE statements
|
| Exception | Description |
|---|---|
| StatementException |
Superclass for exceptions thrown while trying to execute a statement.
|
| UnableToCreateStatementException |
Thrown when
Jdbi couldn't create a statement. |
| UnableToExecuteStatementException |
Thrown when statement execution fails.
|
The statement package provides most of the Fluent API
to drive statement execution. It also handles parameter binding and
the Statement lifecycle, including cleaning up resources after execution.
Copyright © 2017. All rights reserved.