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? On Apr 6, 9:48 pm, Christophe COEVOET <s...@notk.org> wrote: > Le 06/04/2011 15:34, Joni a crit :> Thanks for the quick reply and explaining > it to me! > > > I used the YAML format and according to the documentation, I generated > > the yaml format to the "src/{namespace}/{name of bundle}/Resources/ > > config/doctrine/metadata/orm > > > my 'User.dcm.yml" look like this > > The name is wrong. It has to match the FQCN of your entity, using dots > as separator. So it would be Acme.DemoBundle.Entity.User.dcm.yml for > instance. > Read the Doctrine doc about the mapping :) > > -- > 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