util
Class SQLConsole
java.lang.Object
|
+--util.SQLConsole
- public class SQLConsole
- extends Object
SQLConsole.java -- An application which can be used to send SQL
commands to a database -- any database. Fun fun fun!
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SQLConsole
public SQLConsole(ManagedConnection mc)
printResponse
public void printResponse(String sql)
run
public void run(InputStream is)
main
public static void main(String[] args)
- Run the console. With no arguments, it connects to the default
database on e21. With one argument, it assumes a local ODBC
database with the given name, or, if it starts with jdbc:, uses
that as the connect string. With two arguments, it assumes a
MySQL connection, with the given hostname and database name.