mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
DDC-2660: ResultSetMappingBuilder hydration associationMappings identifiers #3339
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @doctrinebot on GitHub (Sep 8, 2013).
Originally assigned to: @beberlei on GitHub.
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 commented on GitHub (Sep 8, 2013):
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 commented on GitHub (Sep 8, 2013):
Comment created by @beberlei:
Fixed and merged into 2.4 and 2.3 release branches.
@doctrinebot commented on GitHub (Sep 8, 2013):
Issue was closed with resolution "Fixed"