|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.mule.tck.util.MuleDerbyTestUtils
public class MuleDerbyTestUtils
Method Summary | |
---|---|
static void |
cleanupDerbyDb(String databaseName)
|
static void |
cleanupDerbyDb(String derbySystemHome,
String databaseName)
|
static void |
createDataBase(String databaseName)
Create a new embedded database |
static void |
createDataBase(String databaseName,
String creationSql)
Create a new embedded database |
static void |
createDataBase(String databaseName,
String[] creationSql)
Create a new embedded database |
static void |
createDataBase(String databaseName,
String[] creationSql,
Properties properties)
Create a new embedded database |
static void |
defaultDerbyCleanAndInit(String propertiesLocation,
String propertyName)
|
static String |
loadDatabaseName(String propertiesLocation,
String propertyName)
|
static String |
setDerbyHome()
|
static String |
setDerbyHome(String path)
|
static void |
startDataBase(String databaseName)
Start a previously created (and stopped) database |
static void |
stopDatabase()
Properly shutdown an embedded Derby database |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static String setDerbyHome()
public static String setDerbyHome(String path)
public static void stopDatabase() throws SQLException
SQLException
public static void cleanupDerbyDb(String databaseName) throws IOException, SQLException
IOException
SQLException
public static void cleanupDerbyDb(String derbySystemHome, String databaseName) throws IOException, SQLException
IOException
SQLException
public static void startDataBase(String databaseName) throws Exception
Exception
public static void createDataBase(String databaseName) throws SQLException
databaseName
-
SQLException
public static void createDataBase(String databaseName, String creationSql) throws SQLException
databaseName
- creationSql
- - SQL used to create and populate initial database tables
SQLException
public static void createDataBase(String databaseName, String[] creationSql) throws SQLException
databaseName
- creationSql
- - SQL used to create and populate initial database tables
SQLException
public static void createDataBase(String databaseName, String[] creationSql, Properties properties) throws SQLException
databaseName
- creationSql
- - SQL used to create and populate initial database tables
SQLException
public static String loadDatabaseName(String propertiesLocation, String propertyName) throws IOException
IOException
public static void defaultDerbyCleanAndInit(String propertiesLocation, String propertyName) throws IOException, SQLException
IOException
SQLException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |