Re: [symfony-users] Re: Problem with Doctrine2 and Symfony2 PR10

2011-04-07 Thread Christophe COEVOET
Le 07/04/2011 15:31, JeanChristophe a écrit : 4) I create Entity directory in src/Acme/MyBundle I create the class Acme.MyBundle.Entity.User.php in this directory witch contains: The class file is User.php, not Acme.MyBundle.Entity.User.php Generating entities for "AcmeMyBundle" generating

Re: [symfony-users] Re: Problem with Doctrine2 and Symfony2 PR10

2011-04-07 Thread Christophe COEVOET
Le 07/04/2011 14:28, JeanChristophe a écrit : OK but in my first post, I have already put annotations in my class. So what is the problem now ? - My class is correctly completed with annotations so mapped. - My database is correctly available, and tables are already successfully generated by Doc

Re: [symfony-users] Re: Problem with Doctrine2 and Symfony2 PR10

2011-04-07 Thread Christophe COEVOET
Le 07/04/2011 14:05, JeanChristophe a écrit : OK but how I can designed this mapping just for this unique class file User.php ? The documentation on Symfony about Doctrine is very little, and the Doctrine Documentation doesn't consider the Symfony2 context. Thanks a lot, JeanChristophe. The mapp

Re: [symfony-users] Re: Problem with Doctrine2 and Symfony2 PR10

2011-04-07 Thread Christophe COEVOET
Le 07/04/2011 13:48, JeanChristophe a écrit : @Christophe COEVOET: Thanks you very much. So, I have correctly placed my class in Entity dir, and with app/ console, Symfony2 have created the good associated class: Entity \User.php But, I have now another problem. I have write a little controlle