|
@@ 101-105 (lines=5) @@
|
| 98 |
|
$sqlIdentifier = array(); |
| 99 |
|
foreach ($rootIdentifier as $property) { |
| 100 |
|
if (isset($rootClass->fieldMappings[$property])) { |
| 101 |
|
foreach (array_keys($this->rsm->fieldMappings, $property) as $alias) { |
| 102 |
|
if ($this->rsm->columnOwnerMap[$alias] == $rootAlias) { |
| 103 |
|
$sqlIdentifier[$property] = $alias; |
| 104 |
|
} |
| 105 |
|
} |
| 106 |
|
} |
| 107 |
|
if (isset($rootClass->associationMappings[$property])) { |
| 108 |
|
$joinColumn = $rootClass->associationMappings[$property]['joinColumns'][0]['name']; |
|
@@ 109-113 (lines=5) @@
|
| 106 |
|
} |
| 107 |
|
if (isset($rootClass->associationMappings[$property])) { |
| 108 |
|
$joinColumn = $rootClass->associationMappings[$property]['joinColumns'][0]['name']; |
| 109 |
|
foreach (array_keys($this->rsm->metaMappings, $joinColumn) as $alias) { |
| 110 |
|
if ($this->rsm->columnOwnerMap[$alias] == $rootAlias) { |
| 111 |
|
$sqlIdentifier[$property] = $alias; |
| 112 |
|
} |
| 113 |
|
} |
| 114 |
|
} |
| 115 |
|
} |
| 116 |
|
if (count($rootIdentifier) != count($sqlIdentifier)) { |