Class ExecuteSQLAction

  • All Implemented Interfaces:
    com.consol.citrus.common.Described, com.consol.citrus.common.Named, com.consol.citrus.TestAction, com.consol.citrus.TestActorAware, org.springframework.beans.factory.InitializingBean

    public class ExecuteSQLAction
    extends AbstractDatabaseConnectingTestAction
    Test action execute SQL statements. Use this action when executing database altering statements like UPDATE, INSERT, ALTER, DELETE. Statements are either embedded inline in the test case description or given by an external file resource. When executing SQL query statements (SELECT) see ExecuteSQLQueryAction.
    Since:
    2006
    Author:
    Christoph Deppisch, Jan Szczepanski
    • Method Detail

      • executeStatements

        protected void executeStatements​(List<String> statements,
                                         com.consol.citrus.context.TestContext context)
        Run all SQL statements.
        Parameters:
        statements -
        context -
      • isIgnoreErrors

        public boolean isIgnoreErrors()
        Gets the ignoreErrors.
        Returns:
        the ignoreErrors