Le 06/04/2011 15:50, Joni a écrit :
Actually, I tried doing that as well. But doing that mapping will give
me another error.
[Doctrine\ORM\Mapping\MappingException]
Class is not a valid entity or mapped super class.
What should I do for this error?
This means that Doctrine found your mapping but that there is an issue
in it. And the issue is simple: you also have to use the FQCN in the
file: the first line of your pasted mapping which is User should be
Acme\DemoBundle\Entity\User (or whatever your namespace is)
--
Christophe | Stof
--
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 users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en