Doctrine 2 - ORM
  1. Doctrine 2 - ORM
  2. DDC-2301

Support inheritance in ResultSetMappingBuilder

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: Git Master
    • Fix Version/s: None
    • Component/s: ORM
    • Security Level: All

      Description

      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

        Activity

        Ross Masters created issue -

          People

          • Assignee:
            Benjamin Eberlei
            Reporter:
            Ross Masters
          • Votes:
            3 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated: