No, my fault, too hasty (and too often) copied and pasted the same message 
together. That one line should be with two tables: 

@JoinTable(name="user_favorite_comments")and 
@JoinTable(name="user_read_comments")



On Thursday, 6 February 2014 13:26:39 UTC+1, paul kendal wrote:
>
> hi Herman.
>
> sorry, i am unclear how you resoved it; in the example that you gave u 
> used two join tables with exactly the same name? is that correct? if so, 
> where do i put the join tables. do i put both of them in the class of user 
> above the private entity :   private $favorites;
>
> regards 
>
> Paul
>
> On Thursday, February 6, 2014 12:13:03 PM UTC, Herman Peeren wrote:
>>
>> I'll give it a try with an at-sign... I think in that example 
>>
>> @JoinTable(name="user_favorite_comments")and 
>> @JoinTable(name="user_favorite_comments")
>>
>> must be specified.
>>
>>
>> On Thursday, 6 February 2014 13:07:11 UTC+1, Herman Peeren wrote:
>>>
>>> Just gave my solution to the problem in the "error in my code when i 
>>> followed the doctrine 2 tutorial at 9.1. Association Example Entities" 
>>> thread, but the message was deleted. Tried twice, but same result. Why did 
>>> that happen??? 
>>>
>>> Here, once again, I'll say what I posted (bit abbreviated and without 
>>> any maybe wrong characters like the at-sign):
>>> I think the example is wrong: there are 2 many-to-may associations 
>>> between the users and comments. Both use another join-table. I think the 
>>> join-tables user_favorite_comments anduser_read_comments must be 
>>> specified. 
>>>
>>

-- 
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/groups/opt_out.

Reply via email to