Doctrine 2 - ORM
  1. Doctrine 2 - ORM
  2. DDC-1103

Addding an event before the load of collections

    Details

    • Type: New Feature New Feature
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: ORM
    • Security Level: All
    • Labels:
      None

      Description

      An event triggered when loading collections would be useful for performances. The use case would be batch querying some stuff instead of doing a query per object of the collection in a postLoad event.
      For instance, the Translatable extension from https://github.com/l3pp4rd/DoctrineExtensions loads the translations on postLoad which result in many queries. Being able to load them all in a single query would be useful.

        Activity

        Christophe Coevoet created issue -
        Hide
        Gediminas Morkevicius added a comment -

        I think custom persisters will solve these issues, lets wait for them, there are already enough events

        Show
        Gediminas Morkevicius added a comment - I think custom persisters will solve these issues, lets wait for them, there are already enough events
        Benjamin Eberlei made changes -
        Field Original Value New Value
        Workflow jira [ 12534 ] jira-feedback [ 13919 ]
        Benjamin Eberlei made changes -
        Workflow jira-feedback [ 13919 ] jira-feedback2 [ 15783 ]
        Benjamin Eberlei made changes -
        Workflow jira-feedback2 [ 15783 ] jira-feedback3 [ 18040 ]

        This list may be incomplete, as errors occurred whilst retrieving source from linked applications:

        • Request to http://www.doctrine-project.org/fisheye/ failed: Error in remote call to 'FishEye 0 (http://www.doctrine-project.org/fisheye/)' (http://www.doctrine-project.org/fisheye) [AbstractRestCommand{path='/rest-service-fe/search-v1/crossRepositoryQuery', params={query=DDC-1103, expand=changesets[0:20].revisions[0:29],reviews}, methodType=GET}] : Received status code 503 (Service Temporarily Unavailable)

          People

          • Assignee:
            Benjamin Eberlei
            Reporter:
            Christophe Coevoet
          • Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated: