Column[] columns = table.getAutoIncrementColumns();  for (int idx = 0; idx < columns.length; idx++) { print("DROP TRIGGER "); printIdentifier(getConstraintName("trg", table, columns[idx].getName(), null)); printEndOfStatement(); print("DROP SEQUENCE "); printIdentifier(getConstraintName("seq", table, columns[idx].getName(), null)); printEndOfStatement(); }
    public void dropTable(Table table) throws IOException    {        print("DROP TABLE ");        printIdentifier(getTableName(table));        print(" CASCADE CONSTRAINTS");        printEndOfStatement();        Column[] columns = table.getAutoIncrementColumns();        for (int idx = 0; idx < columns.length; idx++)        {            print("DROP TRIGGER ");            printIdentifier(getConstraintName("trg", table, columns[idx].getName(), null));            printEndOfStatement();            print("DROP SEQUENCE ");            printIdentifier(getConstraintName("seq", table, columns[idx].getName(), null));            printEndOfStatement();        }    }