identifier referencing foreign entity can be defined in parent class too
This commit is contained in:
parent
7f5844c209
commit
cab154b873
@ -309,6 +309,10 @@ class ClassMetadataFactory implements ClassMetadataFactoryInterface
|
|||||||
$class->setPrimaryTable($parent->table);
|
$class->setPrimaryTable($parent->table);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ($parent && $parent->containsForeignIdentifier) {
|
||||||
|
$class->containsForeignIdentifier = true;
|
||||||
|
}
|
||||||
|
|
||||||
$class->setParentClasses($visited);
|
$class->setParentClasses($visited);
|
||||||
|
|
||||||
if ($this->evm->hasListeners(Events::loadClassMetadata)) {
|
if ($this->evm->hasListeners(Events::loadClassMetadata)) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user