DDC-2660: ResultSetMappingBuilder hydration associationMappings identifiers #3339

Closed
opened 2026-01-22 14:18:15 +01:00 by admin · 3 comments
Owner

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

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
admin added the Bug label 2026-01-22 14:18:15 +01:00
admin closed this issue 2026-01-22 14:18:15 +01:00
Author
Owner

@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 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
Author
Owner

@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): Comment created by @beberlei: Fixed and merged into 2.4 and 2.3 release branches.
Author
Owner

@doctrinebot commented on GitHub (Sep 8, 2013):

Issue was closed with resolution "Fixed"

@doctrinebot commented on GitHub (Sep 8, 2013): Issue was closed with resolution "Fixed"
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#3339