Interface DatabaseExecutionStrategy
-
- All Known Implementing Classes:
CockroachDBRetryingStrategy,DefaultExecutionStrategy
public interface DatabaseExecutionStrategyDefines a strategy for executing aSqlCallableagainst a particular database.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T> Texecute(SqlCallable<T> callable)Execute the given callable using the defined strategy.
-
-
-
Method Detail
-
execute
<T> T execute(SqlCallable<T> callable) throws SQLException
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
-
-