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

Ability to call flush only for a given entity

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.2
    • Component/s: ORM
    • Security Level: All
    • Labels:
      None

      Description

      In a nutshell, this change would mean that flush() can optionally accept an entity as an argument. When that happens, the resulting changeset will be limited to that entity and any entity reachable from it.

      The IRC transcript contains more details.

        Activity

        amirabiri Amir Abiri created issue -
        Hide
        beberlei Benjamin Eberlei added a comment -

        Rescheduled for 2.2

        Show
        beberlei Benjamin Eberlei added a comment - Rescheduled for 2.2
        beberlei Benjamin Eberlei made changes -
        Field Original Value New Value
        Assignee Roman S. Borschel [ romanb ] Benjamin Eberlei [ beberlei ]
        Fix Version/s 2.2-DEV [ 10157 ]
        Hide
        beberlei Benjamin Eberlei added a comment -
        Show
        beberlei Benjamin Eberlei added a comment - Code here, please review https://github.com/doctrine/doctrine2/pull/166
        beberlei Benjamin Eberlei made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Hide
        beberlei Benjamin Eberlei added a comment -

        This was implemented and is in master.

        Show
        beberlei Benjamin Eberlei added a comment - This was implemented and is in master.
        beberlei Benjamin Eberlei made changes -
        Status In Progress [ 3 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        beberlei Benjamin Eberlei made changes -
        Workflow jira [ 11685 ] jira-feedback [ 14519 ]
        beberlei Benjamin Eberlei made changes -
        Workflow jira-feedback [ 14519 ] jira-feedback2 [ 16383 ]
        beberlei Benjamin Eberlei made changes -
        Workflow jira-feedback2 [ 16383 ] jira-feedback3 [ 18636 ]

        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-720}, methodType=GET}] : Received status code 503 (Service Temporarily Unavailable)

          People

          • Assignee:
            beberlei Benjamin Eberlei
            Reporter:
            amirabiri Amir Abiri
          • Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: