It might be helpful to specify the error, but if I understand correctly you are 
trying to create a many-to-many association with an extra attribute. In that 
case your model changes because essentialy you are replacing the many-to-many 
association by a (association) entity. Your many-to-many association is then 
replaced by two many-to-one associations like this:

Before:  User *-----* User

After: User *------1 Relation 1------* User

The Relation entity now holds the extra properties/state. 

Regards,
Maarten van Leeuwen

> Op 18 apr. 2016 om 07:21 heeft seif brh <[email protected]> het volgende 
> geschreven:
> 
> Hi everyone,  
> 
> i'm student working in a project ,
> 
>  a user can add other user , and each user receive a request and can accept 
> or refuse that request ,
> 
>  so i have entity User with attribute ( id_user , username .... ) 
> i try to make a many to many self referencing relation and i want to add an 
> attribute to the reference table which i can manipulate the response of the 
> request but always i get an error   
>  any help ? and 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 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.

Reply via email to