DDC-2301: Support inheritance in ResultSetMappingBuilder #2892

Open
opened 2026-01-22 14:06:48 +01:00 by admin · 0 comments
Owner

Originally created by @doctrinebot on GitHub (Feb 16, 2013).

Originally assigned to: @beberlei on GitHub.

Jira issue originally created by user rmasters:

ResultSetMappingBuilder does not support inherited fields. For example, calling ResultSetMappingBuilder::addRootEntityFromClassMetadata($class, $alias) throws an exception to say this.

I was wondering if there were any reasons as to why this would be difficult to implement? I haven't had an extensive look at Doctrine's source but it feels like this has been not implemented on purpose.

Thanks

Originally created by @doctrinebot on GitHub (Feb 16, 2013). Originally assigned to: @beberlei on GitHub. Jira issue originally created by user rmasters: ResultSetMappingBuilder does not support inherited fields. For example, calling `ResultSetMappingBuilder::addRootEntityFromClassMetadata($class, $alias)` throws an exception to say this. I was wondering if there were any reasons as to why this would be difficult to implement? I haven't had an extensive look at Doctrine's source but it feels like this has been not implemented on purpose. Thanks
admin added the Improvement label 2026-01-22 14:06:48 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#2892