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 ]
        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 ]

          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: