public class SqlTool
extends java.lang.Object
#main()
Modifier and Type | Class and Description |
---|---|
static class |
SqlTool.SqlToolException |
Modifier and Type | Field and Description |
---|---|
static int |
CONNECTERR_EXITVAL |
static int |
FILEERR_EXITVAL |
static int |
INPUTERR_EXITVAL |
static int |
IOERR_EXITVAL |
static java.lang.String |
LS |
static int |
RCERR_EXITVAL |
static int |
SQLERR_EXITVAL |
static int |
SQLTOOLERR_EXITVAL |
static int |
SYNTAXERR_EXITVAL |
Constructor and Description |
---|
SqlTool() |
Modifier and Type | Method and Description |
---|---|
static void |
main(java.lang.String[] args)
A static wrapper for objectMain, so that that method may be executed
as a Java "program".
|
static void |
objectMain(java.lang.String[] arg)
Connect to a JDBC Database and execute the commands given on
stdin or in SQL file(s).
|
public static final int SQLTOOLERR_EXITVAL
public static final int SYNTAXERR_EXITVAL
public static final int RCERR_EXITVAL
public static final int SQLERR_EXITVAL
public static final int IOERR_EXITVAL
public static final int FILEERR_EXITVAL
public static final int INPUTERR_EXITVAL
public static final int CONNECTERR_EXITVAL
public static java.lang.String LS
public static void main(java.lang.String[] args)
objectMain(String[])
public static void objectMain(java.lang.String[] arg) throws SqlTool.SqlToolException
arg
- Run "java... org.hsqldb.util.SqlTool --help" for syntax.SqlTool.SqlToolException
- Upon any fatal error, with useful
reason as the exception's message.Copyright © 2001 - 2005 HSQL Development Group. All Rights Reserved.