Uses of Interface
org.jdbi.v3.core.statement.TemplateEngine
Package
Description
The
config
classes define a configuration registry starting from
each Jdbi
instance.
The
statement
package provides most of the Fluent API
to drive statement execution.freemarker
provides advanced string template processing.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.-
Uses of TemplateEngine in org.jdbi.v3.commonstext
Modifier and TypeClassDescriptionclass
Register an instance of this class (SqlStatements.setTemplateEngine(org.jdbi.v3.core.statement.TemplateEngine)
) to use an Apache Commons TextStringSubstitutor
as aTemplateEngine
. -
Uses of TemplateEngine in org.jdbi.v3.core.config
Modifier and TypeMethodDescriptiondefault This
Configurable.setTemplateEngine
(TemplateEngine templateEngine) Convenience method forgetConfig(SqlStatements.class).setTemplateEngine(rewriter)
-
Uses of TemplateEngine in org.jdbi.v3.core.statement
Modifier and TypeClassDescriptionclass
Template engine which replaces angle-bracketed tokens like<name>
with the string value of the named attribute.class
Deprecated.class
A TemplateEngine that does not do any templating but returns SQL verbatim.Modifier and TypeFieldDescriptionstatic final TemplateEngine
TemplateEngine.NOP
Convenience constant that returns the input template.Modifier and TypeMethodDescriptionSqlStatements.getTemplateEngine()
Returns theTemplateEngine
which renders the SQL template.Modifier and TypeMethodDescriptionSqlStatements.setTemplateEngine
(TemplateEngine templateEngine) Sets theTemplateEngine
used to render SQL for allSQL statements
executed by Jdbi. -
Uses of TemplateEngine in org.jdbi.v3.freemarker
Modifier and TypeClassDescriptionclass
Rewrites a Freemarker template, using the attributes on theStatementContext
as template parameters. -
Uses of TemplateEngine in org.jdbi.v3.stringtemplate4
Modifier and TypeClassDescriptionclass
Rewrites a StringTemplate template, using the attributes on theStatementContext
as template parameters.
MessageFormat
formats integers with decimal separators, e.g.