protected void executeStatements(TestContext context) {
        for (String stmt : statements) {
            try {
                final String toExecute = context.replaceDynamicContentInString(stmt.trim());

                if (log.isDebugEnabled()) {
                    log.debug("Executing PLSQL statement: " + toExecute);
                }

                getJdbcTemplate().execute(toExecute);

                log.info("PLSQL statement execution successful");
            } catch (DataAccessException e) {
                if (ignoreErrors) {
                    log.warn("Ignoring error while executing PLSQL statement: " + e.getMessage());
                    continue;
                } else {
                    throw new CitrusRuntimeException("Failed to execute PLSQL statement", e);
                }
            }
        }
    }
protected void executeStatements ( TestContext context ) { for ( String stmt : statements ) { try { final String toExecute = context . replaceDynamicContentInString ( stmt . trim ( ) ) ; if ( log . isDebugEnabled ( ) ) { log . debug ( "Executing PLSQL statement: " + toExecute ) ; } getJdbcTemplate ( ) . execute ( toExecute ) ; log . info ( "PLSQL statement execution successful" ) ; } catch ( DataAccessException e ) { if ( ignoreErrors ) { log . warn ( "Ignoring error while executing PLSQL statement: " + e . getMessage ( ) ) ; continue ; } else { throw new CitrusRuntimeException ( "Failed to execute PLSQL statement" , e ) ; } } } }
Run all PLSQL statements.
@param context