Update metadata loads #11

nfx opened this Issue Jul 25, 2011 · 2 comments


None yet

2 participants


Please provide different annotation loading schemes:

public function loadMetadataForClass($className, ClassMetadataInfo $metadata)
    $reflClass = $metadata->getReflectionClass();

    $classAnnotations = $this->reader->getClassAnnotations($reflClass);

    if (isset($classAnnotations['Doctrine\OXM\Mapping\XmlEntity'])) {

This code doesn't work with DoctrineOXMBundle and Symfony RC4

Doctrine member

@nfx - do you mean @golovanov's DoctrineOXMBundle?

There isn't an official DoctrineOXMBundle yet, but the https://github.com/doctrine/oxm project was recently updated to include doctrine common 2.1 compatability, which should help your loading issues


Yeap, the @golovanov's bundle :) It's relatively functional now. Thing that OXM misses is the lookup by ids.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment