if (ig instanceof SequenceGenerator) {
SequenceGenerator sequenceGenerator = (SequenceGenerator) ig;
createSequence(sequenceGenerator.getSequenceName(), schema);
} else if (ig instanceof SequenceStyleGenerator) {
SequenceStyleGenerator sequenceGenerator = (SequenceStyleGenerator) ig;
createSequence((String) sequenceGenerator.generatorKey(), schema);
}
}
}
}