On 3 March 2014 19:58, Timothy Lorens <[email protected]> wrote:

> Here, check this out...
>
> https://gist.github.com/tlorens/04be0a045cab50486733
>
> I was able to make this 'work' by setting up:
>
> <id name="serviceSurvey" association-key="true" />
> <id name="symptom" association-key="true" />
>
> In "ServiceSurveySymptom"  to make the 'key' unique.  Otherwise, only one
> row is returned when just using the serviceSurveyId
>
>
Right, so your previously set PK wasn't unique :-)

That's not really something borked at ORM level - you are required to have
a unique key that "identifies" an entity.

Marco Pivetta

http://twitter.com/Ocramius

http://ocramius.github.com/

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