If you mean you want the columns `created_at`, `created_by`, etc in the join-table: no. As discussed, Doctrine 2 doesn't support this. You'll have to make a join-entity and create associations as: `EntityA` <- OneToMany -> `JoinEntity` <- ManyToOne -> `EntityB`. Then you can add the properties `createdAt`, `createdBy`, etc in `JoinEntity`.
As for behaviors, Doctrine Excetions [1] can help. [1]: https://github.com/Atlantic18/DoctrineExtensions -- Jasper N. Brouwer (@jaspernbrouwer) On 6 June 2014 at 16:32:24, Juan Manuel ([email protected]) wrote: > Hi All, > > Sorry to bump this aold question up. But I wonder if, for specific extra > collumns like Doctrine1.x added by behaviours, (e.g. createdAt, createdBy) > there is any way to add them by annotated configs in the ManyToMany.. > > Thanks! -- 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.
