Class DefaultExecutionStrategy
java.lang.Object
migratedb.v1.core.internal.database.DefaultExecutionStrategy
- All Implemented Interfaces:
DatabaseExecutionStrategy
The default execution strategy for a
SQLCallable, which performs a single execution.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> Texecute(SqlCallable<T> callable) Execute the given callable using the defined strategy.
-
Constructor Details
-
DefaultExecutionStrategy
public DefaultExecutionStrategy()
-
-
Method Details
-
execute
Description copied from interface:DatabaseExecutionStrategyExecute the given callable using the defined strategy.- Specified by:
executein interfaceDatabaseExecutionStrategy- 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
-