Interface DatabaseConnectingActionBuilder<T extends TestAction,B extends DatabaseConnectingActionBuilder<T,B>>

All Superinterfaces:
ActionBuilder<T,B>, ReferenceResolverAwareBuilder<T,B>, TestActionBuilder<T>
All Known Subinterfaces:
ExecutePlsqlActionBuilder<T,B>, ExecuteSqlActionBuilder<T,B>, ExecuteSqlQueryActionBuilder<T,B>

public interface DatabaseConnectingActionBuilder<T extends TestAction,B extends DatabaseConnectingActionBuilder<T,B>> extends ActionBuilder<T,B>, TestActionBuilder<T>, ReferenceResolverAwareBuilder<T,B>
  • Method Details

    • jdbcTemplate

      B jdbcTemplate(Object jdbcTemplate)
      Sets the Spring JDBC template to use.
    • transactionManager

      B transactionManager(Object transactionManager)
      Sets the transaction manager to use.
    • transactionTimeout

      B transactionTimeout(int transactionTimeout)
      Sets the transaction timeout to use.
    • transactionTimeout

      B transactionTimeout(String transactionTimeout)
      Sets the transaction timeout to use.
    • transactionIsolationLevel

      B transactionIsolationLevel(String isolationLevel)
      Sets the transaction isolation level to use.
    • dataSource

      B dataSource(DataSource dataSource)
      Sets the SQL data source.
    • dataSource

      B dataSource(String dataSourceName)
      Sets the name of the SQL data source.
    • statements

      B statements(List<String> statements)
      List of statements to execute. Declared inline in the test case.
    • statement

      B statement(String sql)
      Adds a new statement to the list of SQL executions.
    • sqlResource

      B sqlResource(Resource sqlResource)
      Setter for external file resource containing the SQL statements to execute.
    • sqlResource

      B sqlResource(String filePath)
      Setter for external file resource containing the SQL statements to execute.