m_validator.throwConflictingTableGeneratorsSpecified(name, tableGenerator.getLocation(), otherTableGenerator.getLocation());
}
}
if (m_project.hasSequenceGenerator(tableGenerator.getName())) {
MetadataSequenceGenerator otherSequenceGenerator = m_project.getSequenceGenerator(name);
m_validator.throwConflictingSequenceAndTableGeneratorsSpecified(name, otherSequenceGenerator.getLocation(), tableGenerator.getLocation());
}
for (MetadataSequenceGenerator otherSequenceGenerator : m_project.getSequenceGenerators()) {
if (otherSequenceGenerator.getSequenceName().equals(tableGenerator.getPkColumnValue())) {
// generator name will be used instead of an empty sequence name / pk column name
if(otherSequenceGenerator.getSequenceName().length() > 0) {
m_validator.throwConflictingSequenceNameAndTablePkColumnValueSpecified(otherSequenceGenerator.getSequenceName(), otherSequenceGenerator.getLocation(), tableGenerator.getLocation());
}
}
}
// Add the table generator to the descriptor metadata.