Class CockroachRetryingTransactionalExecutionTemplate
java.lang.Object
org.flywaydb.core.internal.jdbc.TransactionalExecutionTemplate
org.flywaydb.database.cockroachdb.CockroachRetryingTransactionalExecutionTemplate
- All Implemented Interfaces:
- org.flywaydb.core.internal.jdbc.ExecutionTemplate
public class CockroachRetryingTransactionalExecutionTemplate
extends org.flywaydb.core.internal.jdbc.TransactionalExecutionTemplate
Spring-like template for executing transactions. Cockroach always operates with transaction isolation
 level SERIALIZABLE and needs a retrying pattern.
- 
Method Summary
- 
Method Details- 
executeExecutes this callback within a transaction- Specified by:
- executein interface- org.flywaydb.core.internal.jdbc.ExecutionTemplate
- Overrides:
- executein class- org.flywaydb.core.internal.jdbc.TransactionalExecutionTemplate
- Parameters:
- transactionCallback- The callback to execute.
- Returns:
- The result of the transaction code.
 
 
-