public class ExecuteSQLAction extends AbstractDatabaseConnectingTestAction
ExecuteSQLQueryAction
.log, sqlResourcePath, statements
Constructor and Description |
---|
ExecuteSQLAction()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
doExecute(TestContext context)
Subclasses may add custom execution logic here.
|
protected void |
executeStatements(TestContext context)
Run all SQL statements.
|
boolean |
isIgnoreErrors()
Gets the ignoreErrors.
|
ExecuteSQLAction |
setIgnoreErrors(boolean ignoreErrors)
Ignore errors during execution.
|
createStatementsFromFileResource, createStatementsFromFileResource, execute, getActor, getDescription, getName, getSqlResourcePath, getStatements, getTransactionIsolationLevel, getTransactionManager, getTransactionTimeout, isDisabled, setActor, setDescription, setName, setSqlResourcePath, setStatements, setTransactionIsolationLevel, setTransactionManager, setTransactionTimeout
public void doExecute(TestContext context)
AbstractDatabaseConnectingTestAction
doExecute
in class AbstractDatabaseConnectingTestAction
protected void executeStatements(TestContext context)
context
- public ExecuteSQLAction setIgnoreErrors(boolean ignoreErrors)
ignoreErrors
- boolean flag to setpublic boolean isIgnoreErrors()
Copyright © 2008–2017 ConSol Software GmbH. All rights reserved.