Interface ExecutionTemplate
- All Known Implementing Classes:
CockroachRetryingTransactionalExecutionTemplate,PlainExecutionTemplate,TableLockingExecutionTemplate,TransactionalExecutionTemplate
public interface ExecutionTemplate
Spring-like template for executing operations in the context of a database connection.
-
Method Summary
-
Method Details
-
execute
Executes this callback within the context of the connection- Parameters:
callback- The callback to execute.- Returns:
- The result of the callback.
-