[2.0] Cleanup.
This commit is contained in:
parent
6e5a5068a6
commit
84c62d8aec
@ -130,13 +130,6 @@ class AnnotationDriver implements Driver
|
||||
$mapping['id'] = true;
|
||||
}
|
||||
if ($generatedValueAnnot = $property->getAnnotation('GeneratedValue')) {
|
||||
if ($generatedValueAnnot->strategy == 'auto') {
|
||||
try {
|
||||
throw new \Exception();
|
||||
} catch (\Exception $e) {
|
||||
var_dump($e->getTraceAsString());
|
||||
}
|
||||
}
|
||||
$metadata->setIdGeneratorType(constant('Doctrine\ORM\Mapping\ClassMetadata::GENERATOR_TYPE_' . $generatedValueAnnot->strategy));
|
||||
}
|
||||
$metadata->mapField($mapping);
|
||||
|
Loading…
Reference in New Issue
Block a user