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

Reply via email to