ObjectProvider elementSM = sm.getExecutionContext().findObjectProvider(element);
if (elementSM != null)
{
AbstractMemberMetaData[] relatedMmds = ownerMemberMetaData.getRelatedMemberMetaData(clr);
// TODO Cater for more than 1 related field
Object elementOwner = elementSM.provideField(relatedMmds[0].getAbsoluteFieldNumber());
if (elementOwner == null)
{
// No owner, so correct it
NucleusLogger.PERSISTENCE.info(LOCALISER.msg("056037",
sm.toPrintableID(), ownerMemberMetaData.getFullFieldName(),