}
// ensure all SQLObjects in DataSource exist after rolling forward through the upgrades
for (Iterator itr = m_schema.getObjectIterator(); itr.hasNext();)
{
SQLObject obj = (SQLObject)itr.next();
if (m_final.findObject(obj.getName()) == null)
{
eh = addException(eh, new MetadataException("err.meta.upgrade.sql.extraObject",
new Object[]{obj.getName(), m_final.getDataSource().getName()}));
}
}
for (Iterator tableItr = m_schema.getTableIterator(); tableItr.hasNext();)
{