if (sequenceSchemaName == null)
{
sequenceSchemaName = properties.getProperty("schema-name");
}
String sequenceName = properties.getProperty("sequence-name");
RDBMSManager srm = (RDBMSManager)storeMgr;
RDBMSIdentifierFactory idFactory = (RDBMSIdentifierFactory)srm.getIdentifierFactory();
SQLIdentifier identifier = (SQLIdentifier)idFactory.newSequenceIdentifier(sequenceName);
if (((RDBMSAdapter)srm.getDatastoreAdapter()).supportsCatalogsInTableDefinitions() && sequenceCatalogName != null)
{
identifier.setCatalogName(sequenceCatalogName);
}
if (((RDBMSAdapter)srm.getDatastoreAdapter()).supportsSchemasInTableDefinitions() && sequenceSchemaName != null)
{
identifier.setSchemaName(sequenceSchemaName);
}
this.sequenceName = identifier.getFullyQualifiedName(true);
}