From 011776f02ffa279afc0016b2de76b662b87dfc95 Mon Sep 17 00:00:00 2001 From: Benjamin Eberlei Date: Wed, 27 Mar 2013 00:18:21 +0100 Subject: [PATCH] [DDC-93] Add some TODOs in code. --- lib/Doctrine/ORM/Mapping/ClassMetadataInfo.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Doctrine/ORM/Mapping/ClassMetadataInfo.php b/lib/Doctrine/ORM/Mapping/ClassMetadataInfo.php index 9ab80a72c..8a444d9ae 100644 --- a/lib/Doctrine/ORM/Mapping/ClassMetadataInfo.php +++ b/lib/Doctrine/ORM/Mapping/ClassMetadataInfo.php @@ -3068,8 +3068,8 @@ class ClassMetadataInfo implements ClassMetadata foreach ($embeddable->fieldMappings as $fieldMapping) { $fieldMapping['declaredField'] = $property; $fieldMapping['originalField'] = $fieldMapping['fieldName']; - $fieldMapping['fieldName'] = $property . $fieldMapping['fieldName']; - $fieldMapping['columnName'] = $property . "_" . $fieldMapping['columnName']; + $fieldMapping['fieldName'] = $property . "." . $fieldMapping['fieldName']; // TODO: Change DQL parser to accept this dot notation + $fieldMapping['columnName'] = $property . "_" . $fieldMapping['columnName']; // TODO: Use naming strategy $this->mapField($fieldMapping); }