Hello guys

I have problems by generating a custom repository classe with
annotations. I'm following the documentation and got stuck at the
Doctrine part: Custom Repository Classes.

It says that you have to add following annotation to the Product
Entity:
/**
 * @ORM\Entity(repositoryClass="Acme\StoreBundle\Repository
\ProductRepository")
 */

Then execute the command line:
php app/console doctrine:generate:entities Acme

This should create you repository but just nothing happens.  (in yml,
it works)

Also next section doesn't not seem to work: Relationship Mapping
Metadata
Same result, the new field "category_id" just does not get created in
the corresponding table.

Have I done something wrong or are there still issues remaining with
annotations?

Greetz
Cyril Mouttet




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