| java.lang.Object workbench.sql.SqlCommand workbench.sql.commands.SetCommand
SetCommand | public class SetCommand extends SqlCommand (Code) | | This class implements a wrapper for the SET command
Oracle's SET command is only valid from within SQL*Plus.
By supplying an implementation for the Workbench, we can ignore the errors
reported by the JDBC interface, so that SQL scripts intended for SQL*Plus
can also be run from within the workbench
For other DBMS this enables the support for controlling autocommit
through a SQL command. All parameters except serveroutput and autocommit
are passed on to the server.
author: support@sql-workbench.net |
SetCommand | public SetCommand()(Code) | | |
Methods inherited from workbench.sql.SqlCommand | protected void addErrorInfo(StatementRunnerResult result, String sql, Throwable e)(Code)(Java Doc) protected void appendOutput(StatementRunnerResult result)(Code)(Java Doc) protected void appendSuccessMessage(StatementRunnerResult result)(Code)(Java Doc) protected boolean appendWarnings(StatementRunnerResult result)(Code)(Java Doc) public void cancel() throws SQLException(Code)(Java Doc) public void consumeResult(StatementRunnerResult aResult)(Code)(Java Doc) public void done()(Code)(Java Doc) protected WbFile evaluateFileArgument(String fileName)(Code)(Java Doc) public StatementRunnerResult execute(String aSql) throws SQLException, Exception(Code)(Java Doc) public ArgumentParser getArgumentParser()(Code)(Java Doc) protected String getCommandLine(String sql)(Code)(Java Doc) public boolean getFullErrorReporting()(Code)(Java Doc) public String getVerb()(Code)(Java Doc) protected boolean isConnectionRequired()(Code)(Java Doc) public boolean isConsumerWaiting()(Code)(Java Doc) protected boolean isMultiple(String sql)(Code)(Java Doc) public boolean isResultSetConsumer()(Code)(Java Doc) public boolean isUpdatingCommand()(Code)(Java Doc) protected void processMoreResults(String sql, StatementRunnerResult result, boolean hasResult) throws SQLException(Code)(Java Doc) protected void processResults(StatementRunnerResult result, boolean hasResult) throws SQLException(Code)(Java Doc) protected void processResults(StatementRunnerResult result, boolean hasResult, ResultSet queryResult) throws SQLException(Code)(Java Doc) public void setConnection(WbConnection conn)(Code)(Java Doc) public void setConsumerWaiting(boolean flag)(Code)(Java Doc) public void setFullErrorReporting(boolean flag)(Code)(Java Doc) public void setMaxRows(int max)(Code)(Java Doc) public void setParameterPrompter(ParameterPrompter p)(Code)(Java Doc) public void setQueryTimeout(int timeout)(Code)(Java Doc) public void setResultLogger(ResultLogger logger)(Code)(Java Doc) public void setRowMonitor(RowActionMonitor monitor)(Code)(Java Doc) public void setStatementRunner(StatementRunner r)(Code)(Java Doc) protected void setUnknownMessage(StatementRunnerResult result, ArgumentParser cmdline, String help)(Code)(Java Doc)
|
|
|