[2.0][DDC-433] Fixed.
This commit is contained in:
parent
76663a0501
commit
9bb25925c0
@ -195,7 +195,7 @@ class AnnotationDriver implements Driver
|
|||||||
// Evaluate DoctrineChangeTrackingPolicy annotation
|
// Evaluate DoctrineChangeTrackingPolicy annotation
|
||||||
if (isset($classAnnotations['Doctrine\ORM\Mapping\ChangeTrackingPolicy'])) {
|
if (isset($classAnnotations['Doctrine\ORM\Mapping\ChangeTrackingPolicy'])) {
|
||||||
$changeTrackingAnnot = $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
|
// Evaluate annotations on properties/fields
|
||||||
|
Loading…
Reference in New Issue
Block a user