| Package | Description |
|---|---|
| org.jdbi.v3.core.statement |
The
statement package provides most of the Fluent API
to drive statement execution. |
| Modifier and Type | Method and Description |
|---|---|
SqlStatements |
SqlStatements.addCustomizer(StatementCustomizer customizer)
Provides a means for custom statement modification.
|
SqlStatements |
SqlStatements.createCopy() |
SqlStatements |
SqlStatements.define(String key,
Object value)
Define an attribute for
StatementContext for statements executed by Jdbi. |
SqlStatements |
SqlStatements.defineMap(Map<String,?> values)
Defines attributes for each key/value pair in the Map.
|
SqlStatements |
SqlStatements.setQueryTimeout(Integer seconds)
Jdbi does not implement its own timeout mechanism: it simply calls
Statement.setQueryTimeout(int), leaving timeout handling to your jdbc driver. |
SqlStatements |
SqlStatements.setSqlLogger(SqlLogger sqlLogger) |
SqlStatements |
SqlStatements.setSqlParser(SqlParser sqlParser)
Sets the
SqlParser used to parse parameters in SQL statements
executed by Jdbi. |
SqlStatements |
SqlStatements.setTemplateEngine(TemplateEngine templateEngine)
Sets the
TemplateEngine used to render SQL for all
SQL statements executed by Jdbi. |
SqlStatements |
SqlStatements.setTimingCollector(org.jdbi.v3.core.statement.TimingCollector timingCollector)
Deprecated.
|
SqlStatements |
SqlStatements.setUnusedBindingAllowed(boolean allowUnusedBindings)
Sets whether or not an exception should be thrown when any arguments are given to a query but not actually used in it.
|
Copyright © 2019. All rights reserved.