org.hsqldb.util

Class SqlTool

public class SqlTool extends 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 unsaved@users

See Also: SqlTool

Nested Class Summary
static classSqlTool.SqlToolException
Nested class for external callers of SqlTool.main()
Method Summary
static voidmain(String[] arg)
Connect to a JDBC Database and execute the commands given on stdin or in SQL file(s).

Method Detail

main

public static void main(String[] arg)
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: SqlToolException May be thrown only if the system property 'sqltool.noexit' is set (to anything).

Copyright B) 2001 - 2005 HSQL Development Group. All Rights Reserved.