// Schema could be "" or null, need to check for an XML default.
sequenceGenerator.setSchema(MetadataHelper.getName(sequenceGenerator.getSchema(), defaultSchema, sequenceGenerator.getSchemaContext(), m_logger, sequenceGenerator.getLocation()));
// Check if the name is used with a table generator.
TableGeneratorMetadata tableGenerator = m_tableGenerators.get(name);
if (tableGenerator != null) {
throw ValidationException.conflictingSequenceAndTableGeneratorsSpecified(name, sequenceGenerator.getLocation(), tableGenerator.getLocation());
}
for (TableGeneratorMetadata otherTableGenerator : m_tableGenerators.values()) {
if (otherTableGenerator.getPkColumnValue().equals(sequenceGenerator.getSequenceName())) {
// generator name will be used instead of an empty sequence name / pk column name