org.apache.geronimo.console.internaldb
Class RunSQLHelper

java.lang.Object
  extended by org.apache.geronimo.console.internaldb.RunSQLHelper

public class RunSQLHelper
extends Object


Field Summary
static String SQL_EMPTY_MSG
           
static String SQL_SUCCESS_MSG
           
 
Constructor Summary
RunSQLHelper()
           
 
Method Summary
 String backupDB(String derbyHome, String dbName)
           
 String createDB(String dbName)
           
 String deleteDB(String derbyHome, String dbName)
           
static void main(String[] args)
           
 String restoreDB(String derbyHome, String dbName)
           
 String runSQL(String dbName, String sql)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SQL_SUCCESS_MSG

public static final String SQL_SUCCESS_MSG
See Also:
Constant Field Values

SQL_EMPTY_MSG

public static final String SQL_EMPTY_MSG
See Also:
Constant Field Values
Constructor Detail

RunSQLHelper

public RunSQLHelper()
Method Detail

createDB

public String createDB(String dbName)

backupDB

public String backupDB(String derbyHome,
                       String dbName)

restoreDB

public String restoreDB(String derbyHome,
                        String dbName)

deleteDB

public String deleteDB(String derbyHome,
                       String dbName)

runSQL

public String runSQL(String dbName,
                     String sql)

main

public static void main(String[] args)


Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.