throw new UnsupportedOperationException();
if (sqlStmt instanceof DDLStatementNode)
return new ExecutableDDLStatement((DDLStatementNode)sqlStmt, sql);
if (sqlStmt instanceof CallStatementNode)
return ExecutableCallStatement.executableStatement((CallStatementNode)sqlStmt, parser.getParameterList(), context);
throw new UnsupportedSQLException("Statement not recognized", sqlStmt);
}
finally {
sessionMonitor.leaveStage();
if (localTransaction)
rollbackTransaction();