Top Description Methods
org.jooq

public Interface BatchedCallable<T>

Annotations
@FunctionalInterface
Imports
java.sql.SQLException, org.jooq.exception.DataAccessException, org.jooq.tools.jdbc.BatchedConnection, .BatchedPreparedStatement

An operation that can run code and statements, buffering all consecutive and identical SQL strings in a BatchedPreparedStatement, delaying their execution.
Author
Lukas Eder
See Also
BatchedConnection for details.

Method Summary

Modifier and TypeMethod and Description
public T

Returns:

The outcome of the callable.
run
(Configuration
The configuration configured with a BatchedConnection.
configuration
)

Run statements.

Method Detail

runback to summary
public T run(Configuration configuration) throws Throwable

Run statements.

Implementations may freely use the argument Configuration to run statements against the database. All statements are executed on a BatchedConnection.

Parameters
configuration:Configuration

The configuration configured with a BatchedConnection.

Returns:T

The outcome of the callable.

Exceptions
Throwable:
Any exception, including SQLException, that will be propagated as an unchecked DataAccessException.
See Also
BatchedConnection for details.