If the ID of one of the entities is derived from the ID of the other entity, then you should use a "generatorStrategy=NONE"
Marco Pivetta http://twitter.com/Ocramius http://ocramius.github.com/ On 28 January 2015 at 19:49, Nima Sadjadi <[email protected]> wrote: > Hi, > I am still waiting for your answer. > > -- > 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. > -- 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.
