Doctrine 2 - ORM
  1. Doctrine 2 - ORM
  2. DDC-1766

Reintroduce old result cache as hydration cache

    Details

    • Type: New Feature New Feature
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.2.2, 2.3
    • Component/s: ORM
    • Security Level: All
    • Labels:
      None

      Description

      The old result cache should be reintroduced as hydration cache, since it obviously is much faster than just result caching by avoiding hydration.

              $users = $this->_em->createQuery($dql)
                            ->setHydrationCacheProfile(new QueryCacheProfile(null, null, $cache))
                            ->getResult();
      

        Activity

        Benjamin Eberlei created issue -
        Benjamin Eberlei made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 2.3 [ 10185 ]
        Resolution Fixed [ 1 ]
        Benjamin Eberlei made changes -
        Workflow jira [ 13608 ] jira-feedback [ 15312 ]
        Benjamin Eberlei made changes -
        Workflow jira-feedback [ 15312 ] jira-feedback2 [ 17176 ]
        Benjamin Eberlei made changes -
        Workflow jira-feedback2 [ 17176 ] jira-feedback3 [ 19430 ]

          People

          • Assignee:
            Benjamin Eberlei
            Reporter:
            Benjamin Eberlei
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: