mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
mixed resultset mapping for multiple entity #6147
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 @tugrul on GitHub (Dec 22, 2018).
Originally assigned to: @Ocramius on GitHub.
Support Question
I want to get mixed entity mapping of native query resultset like following.
Actual Resultset
Expected Resultset
@Ocramius commented on GitHub (Dec 27, 2018):
I suggest comparing a
ResultSetMappingto theResultSetMappingof an arbitrary join.See https://github.com/doctrine/doctrine2/issues/7221
See https://github.com/doctrine/doctrine2/pull/7255
Closing as
duplicate: while this isn't ideal, this is how DQL handles multiple root entities.