1
0
mirror of synced 2025-01-18 14:31:40 +03:00

DDC-997 - Fix bug in hydration that came up with DDC-117

This commit is contained in:
Benjamin Eberlei 2011-01-23 16:24:08 +01:00
parent 975d6ada66
commit f70ee3a038

View File

@ -194,6 +194,7 @@ abstract class AbstractHydrator
$cache[$key]['isMetaColumn'] = true; $cache[$key]['isMetaColumn'] = true;
$cache[$key]['fieldName'] = $fieldName; $cache[$key]['fieldName'] = $fieldName;
$cache[$key]['dqlAlias'] = $this->_rsm->columnOwnerMap[$key]; $cache[$key]['dqlAlias'] = $this->_rsm->columnOwnerMap[$key];
$classMetadata = $this->_em->getClassMetadata($this->_rsm->aliasMap[$cache[$key]['dqlAlias']]);
$cache[$key]['isIdentifier'] = $classMetadata->isIdentifier($fieldName); $cache[$key]['isIdentifier'] = $classMetadata->isIdentifier($fieldName);
} }
} }