| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| private static final JooqLogger | |
| private QueryPoolable | |
| pack-priv transient DefaultRenderContext. | |
| private static final Set | |
| pack-priv transient PreparedStatement | |
| pack-priv transient int | |
| private int |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public CloseableQuery | bind(String
The named parameter name. If this is a number, then this is
the same as calling param, Object bind(int, Object)The new bind value. value)Implements org. Bind a new value to a named parameter. |
| public CloseableQuery | bind(int
The parameter index, starting with 1 index, Object The new bind value. value)Implements org. Bind a new value to an indexed parameter. |
| public final void | |
| public final void | |
| private final void | closeIfNecessary(Param<?>
The param that was changed param)
Deprecated
as a consequence of
Close the statement if necessary.
Param being deprecated.
|
| pack-priv static final Connection | |
| public final int | execute()
Implements org. |
| protected int | execute(ExecuteContext ctx, ExecuteListener listener)
Default implementation for query execution using a prepared statement. |
| public final CompletionStage | |
| public final CompletionStage | executeAsync(Executor executor)
Implements org. CompletionStage that is asynchronously
completed by a task running in the given executor.
|
| private static final DefaultRenderContext. | |
| public boolean | |
| protected boolean | keepResultSet()
Default implementation to indicate whether this query should close the
|
| public CloseableQuery | keepStatement(boolean
Whether to keep the underlying statement open k)Implements org. Keep the query's underlying statement open after execution. |
| protected final boolean | |
| public CloseableQuery | poolable(boolean p)
Implements org.
Specify whether any JDBC |
| protected void | |
| public CloseableQuery | queryTimeout(int t)
Implements org.
Specify the query timeout in number of seconds for the underlying JDBC
|
| pack-priv final void |
| keepStatement | back to summary |
|---|---|
| private boolean keepStatement | |
| log | back to summary |
|---|---|
| private static final JooqLogger log | |
| poolable | back to summary |
|---|---|
| private QueryPoolable poolable | |
| rendered | back to summary |
|---|---|
| pack-priv transient DefaultRenderContext. | |
| SET_AUTOCOMMIT_ON_START_TRANSACTION | back to summary |
|---|---|
| private static final Set<SQLDialect> SET_AUTOCOMMIT_ON_START_TRANSACTION | |
| statement | back to summary |
|---|---|
| pack-priv transient PreparedStatement statement | |
| statementExecutionCount | back to summary |
|---|---|
| pack-priv transient int statementExecutionCount | |
| timeout | back to summary |
|---|---|
| private int timeout | |
| AbstractQuery | back to summary |
|---|---|
| pack-priv AbstractQuery(Configuration configuration) | |
| bind | back to summary |
|---|---|
| public CloseableQuery bind(String param, Object value) Implements org. Doc from org. Subclasses may override this for covariant result types Bind a new value to a named parameter.
[#1886] If the bind value with name
| |
| bind | back to summary |
|---|---|
| public CloseableQuery bind(int index, Object value) Implements org. Doc from org. Subclasses may override this for covariant result types Bind a new value to an indexed parameter.
[#1886] If the bind value at | |
| cancel | back to summary |
|---|---|
| public final void cancel() Implements org. Doc from org. Cancel the underlying statement.
This cancels the query's underlying
| |
| close | back to summary |
|---|---|
| public final void close() Implements org. Doc from org. Close the underlying statement.
This closes the query's underlying
| |
| closeIfNecessary | back to summary |
|---|---|
| private final void closeIfNecessary(Param<?> param)
Deprecated as a consequence of Close the statement if necessary.
[#1886] If there is an open (cached) statement and its bind values are
inlined due to a
| |
| connection | back to summary |
|---|---|
| pack-priv static final Connection connection(DefaultExecuteContext ctx) | |
| execute | back to summary |
|---|---|
| public final int execute() Implements org. Doc from org. Execute the query, if it has been created with a proper configuration.
| |
| execute | back to summary |
|---|---|
| protected int execute(ExecuteContext ctx, ExecuteListener listener) throws SQLException Default implementation for query execution using a prepared statement. Subclasses may override this method. | |
| executeAsync | back to summary |
|---|---|
| public final CompletionStage Implements org. Doc from org. Execute the query in a new
The result is asynchronously completed by a task running in an
| |
| executeAsync | back to summary |
|---|---|
| public final CompletionStage Implements org. Doc from org. Execute the query in a new
| |
| getSQL0 | back to summary |
|---|---|
| private static final DefaultRenderContext. | |
| isExecutable | back to summary |
|---|---|
| public boolean isExecutable() Implements org. Default implementation for executable check. Subclasses may override this method.
| |
| keepResultSet | back to summary |
|---|---|
| protected boolean keepResultSet() Default implementation to indicate whether this query should close the
| |
| keepStatement | back to summary |
|---|---|
| public CloseableQuery keepStatement(boolean k) Implements org. Doc from org. Subclasses may override this for covariant result types Keep the query's underlying statement open after execution.
This indicates to jOOQ that the query's underlying
| |
| keepStatement | back to summary |
|---|---|
| protected final boolean keepStatement() | |
| poolable | back to summary |
|---|---|
| public CloseableQuery poolable(boolean p) Implements org. Doc from org. Subclasses may override this for covariant result types
Specify whether any JDBC If this method is not called on jOOQ types, then jOOQ will not specify the flag on JDBC either, resulting in JDBC's default behaviour.
| |
| prepare | back to summary |
|---|---|
| protected void prepare(ExecuteContext ctx) throws SQLException Default implementation for preparing a statement. Subclasses may override this method. | |
| queryTimeout | back to summary |
|---|---|
| public CloseableQuery queryTimeout(int t) Implements org. Doc from org. Subclasses may override this for covariant result types
Specify the query timeout in number of seconds for the underlying JDBC
| |
| toSQLSemiColon | back to summary |
|---|---|
| pack-priv final void toSQLSemiColon(RenderContext ctx) | |