Skip to content

Loading…

DDC-2660: ResultSetMappingBuilder hydration associationMappings identifiers #3397

Closed
doctrinebot opened this Issue · 3 comments

2 participants

@doctrinebot

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.productid, o.customer_id FROM customerorder o

@doctrinebot

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

Comment created by @beberlei:

Fixed and merged into 2.4 and 2.3 release branches.

@doctrinebot

Issue was closed with resolution "Fixed"

@beberlei beberlei was assigned by doctrinebot
@doctrinebot doctrinebot added this to the 2.3.5 milestone
@doctrinebot doctrinebot closed this
@doctrinebot doctrinebot added the Bug label
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.