@Override public SchemaChanges compareSchema(DbSchema source, DbSchema target) throws UnsupportedChangeException { Args.notNull(source,"source schema"); Args.notNull(target,"target schema"); log.debug("Comparing source schema '{}' to target schema '{}'",source,target); GenericSchemaChanges changes = db.createSchemaChanges(); compareTables(changes, Arrays2.sort(source.getTables()), Arrays2.sort(target.getTables())); compareSequences(changes, Arrays2.sort(source.getSequences()), Arrays2.sort(target.getSequences())); return changes; }