1
0
mirror of synced 2025-01-17 22:11:41 +03:00

DDC-758 - Respect notify change tracking.

This commit is contained in:
Benjamin Eberlei 2010-10-31 07:23:58 +01:00
parent 23795605fc
commit 008601f2ea

View File

@ -1443,6 +1443,9 @@ class UnitOfWork implements PropertyChangedListener
if (!$managedCol->isEmpty()) {
$managedCol->unwrap()->clear();
$managedCol->setDirty(true);
if ($assoc2['isOwningSide'] && $assoc2['type'] == ClassMetadata::MANY_TO_MANY && $class->isChangeTrackingNotify()) {
$this->scheduleForDirtyCheck($managedCol);
}
}
}
}