for (Iterator iter = database.getTables().iterator(); iter.hasNext(); ) { Table table = (Table) iter.next(); tableComment(table); dropTable(table); createTable(table); }
createDatabase(database, true);
    public void createDatabase(Database database) throws IOException {        for (Iterator iter = database.getTables().iterator(); iter.hasNext(); ) {            Table table = (Table) iter.next();            tableComment(table);            dropTable(table);            createTable(table);        }    }