On Thursday, 13 February 2014 10:47:06 UTC, Jàπ (Jasper N. Brouwer) wrote:

> Yes, when you have a bidirectional association, the owning sides needs an 
> `inversedBy` and the inversed side needs a `mappedBy`. 
>
> The value of `inversedBy` and `mappedBy` should be the name of the 
> property you're pointing to (not a class-name or column-name). 
>

Yeah. I think the  issue I had was that I was confused by that bit - the 
documentation had the column names, and the entity attributes the same, so 
that's where the confusion came in. I've inherited a legacy dataset which I 
needed to reverse engineer and establish some relationships hence why 
column names are different to the attribute names in most cases.

All sorted. Thankyou very much for the pointers and assistance!

jx

-- 
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