1
0
mirror of synced 2025-01-09 18:47:10 +03:00

This fixes ticket DDC-3028

Enables columnPrefix to be "false" so no prefix is added.
Changed the structure a bit (to if/else) to be more readable with the additional condition.
This commit is contained in:
Anton Stoeckl 2014-03-14 12:34:22 +01:00
parent 871dc5d186
commit 83ef47c8d0

View File

@ -3200,10 +3200,6 @@ class ClassMetadataInfo implements ClassMetadata
); );
} }
// $fieldMapping['columnName'] = ! empty($this->embeddedClasses[$property]['columnPrefix']) || $this->embeddedClasses[$property]['columnPrefix'] === false
// ? $this->embeddedClasses[$property]['columnPrefix'] . $fieldMapping['columnName']
// : $this->namingStrategy->embeddedFieldToColumnName($property, $fieldMapping['columnName'], $this->reflClass->name, $embeddable->reflClass->name);
$this->mapField($fieldMapping); $this->mapField($fieldMapping);
} }
} }