I know that this is more a doctrine issue than symfony, but I don't
understand why in the symfony2 documentation all examples with the
annotation syntax recommend to use the prefix "ORM\", while in the
generated doctrine entities the prefix is explicitly disabled before
version "3.0.0-DEV". Due to this change generate:doctrine:entity
command is somewhat useless, because every time we must copy/paste
that damn ORM\ prefix.
Temporary adding:
$entityGenerator->setAnnotationPrefix('ORM\\');
to the "Symfony\Bundle\DoctrineBundle\Command
\DoctrineCommand:getEntityGenerator"
resolves the issue.
I assume this small issue will be fixed in the stable release? Im
Currently using symfony2 RC3.

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en

Reply via email to