public interface BindContext extends Context<BindContext>
QueryPart's and their contained
values to a PreparedStatement's bind variables. A new bind context is
instantiated every time a Query is bound. QueryPart's
will then pass the same context to their components
This interface is for JOOQ INTERNAL USE only. Do not reference directly
RenderContext| Modifier and Type | Method and Description |
|---|---|
BindContext |
bind(java.util.Collection<? extends QueryPart> parts)
Deprecated.
- 3.2.0 - [#2666] - Use
Context.visit(QueryPart) instead |
BindContext |
bind(QueryPart part)
Deprecated.
- 3.2.0 - [#2666] - Use
Context.visit(QueryPart) instead |
BindContext |
bind(QueryPart[] parts)
Deprecated.
- 3.2.0 - [#2666] - Use
Context.visit(QueryPart) instead |
BindContext |
bindValue(java.lang.Object value,
java.lang.Class<?> type)
Deprecated.
- 3.4.0 - [#3114] - Use
bindValue(Object, Field) instead |
BindContext |
bindValue(java.lang.Object value,
Field<?> field)
Bind a value using a specific type.
|
BindContext |
bindValues(java.lang.Object... values)
Deprecated.
- 3.4.0 - [#3114] - Use
bindValue(Object, Field) instead |
java.sql.PreparedStatement |
statement()
Retrieve the context's underlying
PreparedStatement |
cast, castMode, castMode, castModeSome, declareAliases, declareAliases, declareCTE, declareCTE, declareFields, declareFields, declareTables, declareTables, declareWindows, declareWindows, end, format, format, formatIndentEnd, formatIndentEnd, formatIndentLockEnd, formatIndentLockStart, formatIndentStart, formatIndentStart, formatNewLine, formatNewLineAfterPrintMargin, formatPrintMargin, formatSeparator, keyword, literal, nextAlias, nextIndex, paramType, paramType, peekAlias, peekIndex, qualify, qualify, qualifyCatalog, qualifyCatalog, qualifySchema, qualifySchema, quote, quote, render, render, sql, sql, sql, sql, start, stringLiteral, stringLiteral, subquery, subquery, visitjava.sql.PreparedStatement statement()
PreparedStatementstatement in interface Context<BindContext>@Deprecated BindContext bind(QueryPart part) throws DataAccessException
Context.visit(QueryPart) insteadQueryPart. This will also increment the
internal counter.DataAccessException - If something went wrong while binding a
variable@Deprecated BindContext bind(java.util.Collection<? extends QueryPart> parts) throws DataAccessException
Context.visit(QueryPart) insteadQueryPart's. This will also increment
the internal counter.DataAccessException - If something went wrong while binding a
variable@Deprecated BindContext bind(QueryPart[] parts) throws DataAccessException
Context.visit(QueryPart) insteadQueryPart's. This will also increment
the internal counter.DataAccessException - If something went wrong while binding a
variable@Deprecated BindContext bindValue(java.lang.Object value, java.lang.Class<?> type) throws DataAccessException
bindValue(Object, Field) insteadDataAccessException - If something went wrong while binding a
variable@Deprecated BindContext bindValues(java.lang.Object... values) throws DataAccessException
bindValue(Object, Field) insteadDataAccessException - If something went wrong while binding a
variableBindContext bindValue(java.lang.Object value, Field<?> field) throws DataAccessException
bindValue in interface Context<BindContext>DataAccessException - If something went wrong while binding a
variableCopyright © 2018. All Rights Reserved.