{
final ISQLPanelAPI api = _session.getSessionInternalFrame().getSQLPanelAPI();
final String sql = api.getSQLScriptToBeExecuted();
if (sql != null && sql.trim().length() > 0)
{
final WebServiceSessionProperties wssProps = _plugin.getWebServiceSessionProperties(_session);
final String stmtSep= _session.getQueryTokenizer().getSQLStatementSeparator();
final String solComment = _session.getQueryTokenizer().getLineCommentBegin();
final ValidationProps valProps = new ValidationProps(_prefs, wssProps,
sql, stmtSep, solComment, _session);
new Executor(_session.getApplication(), valProps, _session.getProperties()).execute();