// Process any relation owner fields
NucleusLogger.DATASTORE.info("Migrating Entity with key=" + entity.getKey() + " for class=" + cls.getName());
for (int i=0;i<relationFieldNumbers.length;i++) {
AbstractMemberMetaData mmd = cmd.getMetaDataForManagedMemberAtAbsolutePosition(relationFieldNumbers[i]);
if (MetaDataUtils.isOwnedRelation(mmd, storeMgr)) {
RelationType relationType = mmd.getRelationType(clr);
if (relationType == RelationType.ONE_TO_ONE_UNI ||
(relationType == RelationType.ONE_TO_ONE_BI && mmd.getMappedBy() == null)) {
// 1-1 owner
String propName = EntityUtils.getPropertyName(storeMgr.getIdentifierFactory(), mmd);
if (!entity.hasProperty(propName)) {