org.hsqldb.util

Class 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 unsaved@users
See Also:
main()

Nested Class Summary

static class
SqlTool.SqlToolException
Nested class for external callers of SqlTool.main()

Method Summary

static void
main(String[] arg)
Connect to a JDBC Database and execute the commands given on stdin or in SQL file(s).

Method Details

main

public static void main(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 B) 2001 - 2005 HSQL Development Group. All Rights Reserved.