$params[] =
$identifier[$idField];
$where[] =
$this->quoteStrategy->
getJoinColumnName( $this->class->associationMappings
[$idField]['joinColumns'
][0
],
$this->class,
$this->platform
);
$targetMapping =
$this->em->
getClassMetadata($this->class->associationMappings
[$idField]['targetEntity'
]);
$targetType = PersisterHelper::
getTypeOfField($targetMapping->identifier
[0
],
$targetMapping,
$this->em
);
if ($targetType ===
[]) { throw UnrecognizedField::
byFullyQualifiedName($this->class->name,
$targetMapping->identifier
[0
]);
} $types[] =
reset($targetType);
} if ($versioned) { $versionField =
$this->class->versionField;
assert($versionField !== null
);
$versionFieldType =
$this->class->fieldMappings
[$versionField]['type'
];
$versionColumn =
$this->quoteStrategy->
getColumnName($versionField,
$this->class,
$this->platform
);