| |
|
| java.lang.Object workbench.sql.SqlCommand workbench.sql.commands.UseCommand
UseCommand | public class UseCommand extends SqlCommand (Code) | | MS SQL Server's and MySQL's USE command.
Actually this will be in effect if the JDBC driver reports
that catalog's are supported
This class will notify the connection used that the current database has changed
so that the connection display in the main window can be updated.
author: support@sql-workbench.net |
UseCommand | public UseCommand()(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)
|
|
|
|