}
// We expect a flat class here to map to a view.
if (cmd.getPersistenceCapableSuperclass() != null)
{
throw new PersistentSuperclassNotAllowedException(cmd.getFullClassName());
}
// Extract the view definition from MetaData
String viewImpStr = cmd.getValueForExtension("view-imports");
String viewDefStr = null;