throw new NoSuchSequenceException (sequenceName);
}
for (Table table : getAIS(session).getTables().values()) {
if (table.getIdentityColumn() != null && table.getIdentityColumn().getIdentityGenerator().equals(sequence)) {
throw new DropSequenceNotAllowedException(sequence.getSequenceName().getTableName(), table.getName());
}
}
store().deleteSequences(session, Collections.singleton(sequence));
schemaManager().dropSequence(session, sequence);
}