My point is that you _don't_ have to change anything in the database. You _only_ have to change your entities.
PS: I thing you're refering to the SensioGeneratorBundle, which can generate CRUD controllers. This is part of Symfony, not Doctrine. I've never used this, so I don't know if it can be told to use different properties/methods for the identifiers. You'll have to ask around in the Symfony mailing lists... -- Jasper N. Brouwer (@jaspernbrouwer) On 29 April 2014 at 12:36:57, Chargui Taieb ([email protected]) wrote: > yeah i know that but i have to modify many entity and relationship between > them in my database i just want an way to tell doctrine that there's an > identify but it's not named id -- You received this message because you are subscribed to the Google Groups "doctrine-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/doctrine-user. For more options, visit https://groups.google.com/d/optout.
