That is supported by the "join-table" mapping. I can't remember the YAML syntax for it, but the XML mappings XSD has a better definition for it: https://github.com/doctrine/doctrine2/blob/788143dc0313c7522820ebf6057f73881e7190a3/doctrine-mapping.xsd#L447-L456
Also look for "joinTable" in http://docs.doctrine-project.org/projects/doctrine-orm/en/latest/reference/yaml-mapping.html Marco Pivetta http://twitter.com/Ocramius http://ocramius.github.com/ On 31 January 2016 at 04:33, Cristian Chaparro <[email protected]> wrote: > Hello everybody I've the following problem that I don't now how to solve > > I've the following entities with properties > > > Proyecto > -id:primarykey/autogenerate > -secuence:primarykey > -ManyToMany Integrante > > > Integrante > -id:primarykey/autogenerate > -someotheratributes > -ManytoMany Proyecto > > So how can I do to get a auto generate intermediate table(or other kind of > solution) like this: > > Integrante_proyecto > -proyecto_id:primary key > -proyecto_serial : primary key > -integrante_id: primary key > > -- > 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 https://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 https://groups.google.com/group/doctrine-user. For more options, visit https://groups.google.com/d/optout.
