org.hsqldb.util
Class SqlTool

java.lang.Object
  extended byorg.hsqldb.util.SqlTool

public class SqlTool
extends java.lang.Object

Sql Tool. A command-line and/or interactive SQL tool. (Note: For every Javadoc block comment, I'm using a single blank line immediately after the description, just like's Sun's examples in their Coding Conventions document). See JavaDocs for the main method for syntax of how to run.

Author:
Blaine Simpson
See Also:
@main()

Nested Class Summary
static class SqlTool.SqlToolException
          Nested class for external callers of SqlTool.main()
 
Constructor Summary
SqlTool()
           
 
Method Summary
static void main(java.lang.String[] arg)
          Connect to a JDBC Database and execute the commands given on stdin or in SQL file(s).
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SqlTool

public SqlTool()
Method Detail

main

public static void main(java.lang.String[] arg)
                 throws SqlTool.SqlToolException
Connect to a JDBC Database and execute the commands given on stdin or in SQL file(s). Like most main methods, this is not intended to be thread-safe.

Parameters:
arg - Run "java... org.hsqldb.util.SqlTool --help" for syntax.
Throws:
SqlTool.SqlToolException - May be thrown only if the system property 'sqltool.noexit' is set (to anything).


Copyright © 2001 - 2004 HSQL Development Group. All Rights Reserved.