1
0
mirror of synced 2024-12-14 23:26:04 +03:00

[2.0][DDC-433] Fixed.

This commit is contained in:
romanb 2010-03-18 11:53:26 +00:00
parent 76663a0501
commit 9bb25925c0

View File

@ -195,7 +195,7 @@ class AnnotationDriver implements Driver
// Evaluate DoctrineChangeTrackingPolicy annotation
if (isset($classAnnotations['Doctrine\ORM\Mapping\ChangeTrackingPolicy'])) {
$changeTrackingAnnot = $classAnnotations['Doctrine\ORM\Mapping\ChangeTrackingPolicy'];
$metadata->setChangeTrackingPolicy($changeTrackingAnnot->value);
$metadata->setChangeTrackingPolicy(constant('\Doctrine\ORM\Mapping\ClassMetadata::CHANGETRACKING_' . $inheritanceTypeAnnot->value));
}
// Evaluate annotations on properties/fields