1
0
mirror of synced 2024-12-14 07:06:04 +03:00

Merge branch 'DDC-1414'

This commit is contained in:
Benjamin Eberlei 2011-10-15 17:47:17 +02:00
commit f54cdf625e

View File

@ -871,6 +871,7 @@ class UnitOfWork implements PropertyChangedListener
$targetClass = $this->em->getClassMetadata($assoc['targetEntity']);
if ( ! $calc->hasClass($targetClass->name)) {
$calc->addClass($targetClass);
$newNodes[] = $targetClass;
}
$calc->addDependency($targetClass, $class);
// If the target class has mapped subclasses,