public class ExecutePLSQLAction extends AbstractDatabaseConnectingTestAction
Modifier and Type | Field and Description |
---|---|
static String |
PLSQL_STMT_ENDING
Special statement endoing character sequence
|
log, sqlResourcePath, statements
Constructor and Description |
---|
ExecutePLSQLAction()
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 PLSQL statements.
|
String |
getScript()
Gets the script.
|
boolean |
isIgnoreErrors()
Gets the ignoreErrors.
|
ExecutePLSQLAction |
setIgnoreErrors(boolean ignoreErrors)
Ignore errors during execution.
|
ExecutePLSQLAction |
setScript(String script)
Setter for inline script.
|
createStatementsFromFileResource, createStatementsFromFileResource, execute, getActor, getDescription, getName, getSqlResourcePath, getStatements, getTransactionIsolationLevel, getTransactionManager, getTransactionTimeout, isDisabled, setActor, setDescription, setName, setSqlResourcePath, setStatements, setTransactionIsolationLevel, setTransactionManager, setTransactionTimeout
public static final String PLSQL_STMT_ENDING
public void doExecute(TestContext context)
AbstractDatabaseConnectingTestAction
doExecute
in class AbstractDatabaseConnectingTestAction
protected void executeStatements(TestContext context)
context
- public ExecutePLSQLAction setScript(String script)
script
- public ExecutePLSQLAction setIgnoreErrors(boolean ignoreErrors)
ignoreErrors
- boolean flag to setpublic String getScript()
public boolean isIgnoreErrors()
Copyright © 2008–2017 ConSol Software GmbH. All rights reserved.