while (tablesAndViews != null && tablesAndViews.size() > 0) {
Table obj = (Table) tablesAndViews.values().toArray()[0];
database.removeSchemaObject(session, obj);
}
while (indexes != null && indexes.size() > 0) {
Index obj = (Index) indexes.values().toArray()[0];
database.removeSchemaObject(session, obj);
}
while (sequences != null && sequences.size() > 0) {
Sequence obj = (Sequence) sequences.values().toArray()[0];
database.removeSchemaObject(session, obj);