Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DDC-2660: ResultSetMappingBuilder hydration associationMappings identifiers #3397

Closed
doctrinebot opened this issue Sep 8, 2013 · 3 comments
Assignees
Labels
Milestone

Comments

@doctrinebot
Copy link

Jira issue originally created by user yokoloko:

When you try to create a resultsetmappingbuilder for an entity with composite id made of associations. The result is not what we expect.

eg : SELECT o.product_id, o.customer_id FROM customer_order o

@doctrinebot
Copy link
Author

Comment created by yokoloko:

It's easier to understand with a testcase, the problem is in the addAllClassFields method that for association mapping call the addMetaResult without saying if the column is an identifier or not

@doctrinebot
Copy link
Author

Comment created by @beberlei:

Fixed and merged into 2.4 and 2.3 release branches.

@doctrinebot
Copy link
Author

Issue was closed with resolution "Fixed"

@doctrinebot doctrinebot added this to the 2.3.5 milestone Dec 6, 2015
@doctrinebot doctrinebot added the Bug label Dec 7, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants