Interface DatabaseExecutionStrategy
- All Known Implementing Classes:
CockroachDBRetryingStrategy,DefaultExecutionStrategy
public interface DatabaseExecutionStrategy
Defines a strategy for executing a
SqlCallable against a particular database.-
Method Summary
Modifier and TypeMethodDescription<T> Texecute(SqlCallable<T> callable) Execute the given callable using the defined strategy.
-
Method Details
-
execute
Execute the given callable using the defined strategy.- Type Parameters:
T- The return type of the SQL callable.- Parameters:
callable- The SQL callable to execute.- Returns:
- The object returned by the SQL callable.
- Throws:
SQLException
-