| |
|
| java.lang.Object com.completex.objective.tools.SqlCmdTool
SqlCmdTool | public class SqlCmdTool (Code) | | Executes any sql command or script either as a command line tool or as a Java class through its
processInput() method. Execute it with no argument to get help.
Commands are separated by line with only "/" in it.
author: Gennady Krizhevsky |
Inner Class :static interface StatementProcessor | |
Inner Class :static class StatementProcessorImpl implements StatementProcessor | |
Inner Class :static class NullStatementProcessorImpl implements StatementProcessor | |
Inner Class :static class BreakException extends Exception | |
CMD_COMMIT | final public static String CMD_COMMIT(Code) | | Commands:
|
COMMAND_SEP_LINE | final public static String COMMAND_SEP_LINE(Code) | | |
NULL_STATEMENT_PROCESSOR | final public static NullStatementProcessorImpl NULL_STATEMENT_PROCESSOR(Code) | | |
SqlCmdTool | public SqlCmdTool(StatementProcessor statementProcessor)(Code) | | |
close | public synchronized void close()(Code) | | |
ensureOpen | protected void ensureOpen()(Code) | | |
isClosed | public boolean isClosed()(Code) | | |
isExit | protected static boolean isExit(String exactCommand)(Code) | | |
isOpen | public boolean isOpen()(Code) | | |
pringUsage | protected static void pringUsage()(Code) | | |
printPrompt | protected static void printPrompt()(Code) | | |
printPrompt | protected static void printPrompt(String prefix)(Code) | | |
processScript | protected void processScript(String scriptPath, StatementProcessor statementProcessor)(Code) | | |
setLogger | protected void setLogger(Log logger)(Code) | | |
|
|
|