Le 21/06/2011 16:21, Kein a écrit :
Im using this tutorial <http://symfony.com/doc/current/book/doctrine.html#saving-related-entities>. But command "/php app/console doctrine:schema:update --force/" not generate setter and getter for Acme\StoreBundle\Entity\Product And i recive error "*Fatal error*: Call to undefined method Acme\StoreBundle\Entity\Product::setCategory() in" Where can be problem? How make doctrine generate correct setter and getter form added annotation to entities?

doctrine:schema:update is not meant to generate setters but to generate tables in the database.

--
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