Attachable and a QueryPart.
In addition to being able to render SQL of possibly some unspecified dialect
and with inlined bind values for debugging purposes via the
QueryPart#toString() method, this type offers more fine-grained
control over the SQL generation via ParamType,
Configuration#dialect() and various Configuration#settings().
| Modifier and Type | Method and Description |
|---|---|
| public @NotNull List | |
| public @Nullable Param | |
| public @NotNull Map | |
| public @NotNull String | |
| public @NotNull String | Returns: The generated SQLHow to render parameters. This overrides values in
paramType)Settings#getStatementType()Retrieve the SQL code rendered by this Query. |
| getBindValues | back to summary |
|---|---|
| public @NotNull List Retrieve the bind values that will be bound by this Query.
Unlike
| |
| getParam | back to summary |
|---|---|
| public @Nullable Param Deprecated as a consequence of Get a named parameter from the
Bind values created with
| |
| getParams | back to summary |
|---|---|
| public @NotNull Map Get a
Bind values created with
| |
| getSQL | back to summary | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| public @NotNull String getSQL() Retrieve the SQL code rendered by this Query. Use this method, when you want to use jOOQ for object oriented query creation, but execute the query with some other technology, such as
Note, this is the same as calling
[#1520] Note that the query actually being executed might not contain any
bind variables, in case the number of bind variables exceeds your SQL
dialect's maximum number of supported bind variables. This is not
reflected by this method, which will only use the
| ||||||||||
| getSQL | back to summary |
|---|---|
| public @NotNull String getSQL(ParamType paramType) Retrieve the SQL code rendered by this Query.
[#1520] Note that the query actually being executed might not contain any
bind variables, in case the number of bind variables exceeds your SQL
dialect's maximum number of supported bind variables. This is not
reflected by this method, which will only use
See
| |