org.mule.providers.jdbc.util
Class MuleDerbyUtils
java.lang.Object
org.mule.providers.jdbc.util.MuleDerbyUtils
public class MuleDerbyUtils
- extends Object
NOTE: Don't forget to duplicate all the changes in org.mule.examples.loanbroker.bpm.DbUtils
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
setDerbyHome
public static String setDerbyHome()
setDerbyHome
public static String setDerbyHome(String path)
stopDatabase
public static void stopDatabase()
throws SQLException
- Properly shutdown an embedded Derby database
- Throws:
SQLException
- See Also:
- Derby docs
cleanupDerbyDb
public static void cleanupDerbyDb(String derbySystemHome,
String databaseName)
throws IOException,
SQLException
- Throws:
IOException
SQLException
createDataBase
public static void createDataBase(String databaseName)
throws SQLException
- Throws:
SQLException
loadDatabaseName
public static String loadDatabaseName(String propertiesLocation,
String propertyName)
throws IOException
- Throws:
IOException
defaultDerbyCleanAndInit
public static void defaultDerbyCleanAndInit(String propertiesLocation,
String propertyName)
throws IOException,
SQLException
- Throws:
IOException
SQLException
Copyright © 2003-2008 MuleSource, Inc.. All Rights Reserved.