Uploaded image for project: 'Doctrine 2 - ORM'
  1. Doctrine 2 - ORM
  2. DDC-918

Remove UnitOfWork->flush() in Query->doExecute()

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0-RC2
    • Component/s: None
    • Security Level: All
    • Labels:
      None

      Description

      We should remove UnitOfWork->flush() inside the Query class and document clearly the adverse effects that can happen.

      Its much better peformance wise this way around and people shouldn't get into trouble.

        Activity

        beberlei Benjamin Eberlei created issue -
        beberlei Benjamin Eberlei made changes -
        Field Original Value New Value
        Priority Major [ 3 ] Critical [ 2 ]
        Fix Version/s 2.0-RC2 [ 10112 ]
        Hide
        beberlei Benjamin Eberlei added a comment -

        Changed and noted in the new ReST branch of the docs that will go live before release.

        Show
        beberlei Benjamin Eberlei added a comment - Changed and noted in the new ReST branch of the docs that will go live before release.
        beberlei Benjamin Eberlei made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Assignee Roman S. Borschel [ romanb ] Benjamin Eberlei [ beberlei ]
        Resolution Fixed [ 1 ]
        beberlei Benjamin Eberlei made changes -
        Workflow jira [ 12207 ] jira-feedback [ 14679 ]
        beberlei Benjamin Eberlei made changes -
        Workflow jira-feedback [ 14679 ] jira-feedback2 [ 16543 ]
        beberlei Benjamin Eberlei made changes -
        Workflow jira-feedback2 [ 16543 ] jira-feedback3 [ 18796 ]

        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={expand=changesets[0:20].revisions[0:29],reviews, query=DDC-918}, methodType=GET}] : Received status code 503 (Service Temporarily Unavailable)

          People

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

            Dates

            • Created:
              Updated:
              Resolved: