ShellInteractive command line tool to access a database using JDBC.
static void main(String[] args) throws SQLExceptionThe command line interface for this tool. The options must be split into strings like this: "-user", "sa",... Options are case sensitive. The following options are supported:
Parameters:
args - the command line arguments
Throws:
SQLException
void run(String[] args) throws SQLExceptionRun the shell tool with the given command line settings.Parameters:
args - the command line settings
void setStreams(InputStream in, PrintStream out, PrintStream err)Redirects the input and output. By default, System.in, out and err are used.Parameters:
in - the input stream to use
out - the output stream to use
err - the output error stream to use
|