|
@@ 87-91 (lines=5) @@
|
| 84 |
|
$sqlIdentifier = array(); |
| 85 |
|
foreach ($rootIdentifier as $property) { |
| 86 |
|
if (isset($rootClass->fieldMappings[$property])) { |
| 87 |
|
foreach (array_keys($this->rsm->fieldMappings, $property) as $alias) { |
| 88 |
|
if ($this->rsm->columnOwnerMap[$alias] == $rootAlias) { |
| 89 |
|
$sqlIdentifier[$property] = $alias; |
| 90 |
|
} |
| 91 |
|
} |
| 92 |
|
} |
| 93 |
|
if (isset($rootClass->associationMappings[$property])) { |
| 94 |
|
$joinColumn = $rootClass->associationMappings[$property]['joinColumns'][0]['name']; |
|
@@ 95-99 (lines=5) @@
|
| 92 |
|
} |
| 93 |
|
if (isset($rootClass->associationMappings[$property])) { |
| 94 |
|
$joinColumn = $rootClass->associationMappings[$property]['joinColumns'][0]['name']; |
| 95 |
|
foreach (array_keys($this->rsm->metaMappings, $joinColumn) as $alias) { |
| 96 |
|
if ($this->rsm->columnOwnerMap[$alias] == $rootAlias) { |
| 97 |
|
$sqlIdentifier[$property] = $alias; |
| 98 |
|
} |
| 99 |
|
} |
| 100 |
|
} |
| 101 |
|
} |
| 102 |
|
if (count($rootIdentifier) != count($sqlIdentifier)) { |