Database database = CommandLineUtils.createDatabaseObject(DbSetupUtility.class.getClassLoader(),
testDs.connectionUrl, testDs.userName, testDs.password, dbDriver, null, null, null);
//Database database = DatabaseFactory.getInstance().findCorrectDatabaseImplementation(
// new JdbcConnection(AbstractEJB3Test.getConnection()));
Liquibase liquibase = new Liquibase(null, new ClassLoaderResourceAccessor(), database);
liquibase.dropAll();
dropRhqCalltimeDataKeyTable(database);
}
public static void dbsetup() throws Exception {
dbsetup(null);