Doctrine 2 - ORM
  1. Doctrine 2 - ORM
  2. DDC-1511

Suggestion on the docs for batch processing


    • Type: Documentation Documentation
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.0
    • Fix Version/s: None
    • Component/s: Documentation
    • Labels:
    • Environment:


      I am refering to the examples on

      Let's say you want to process a bulk of 25 objects and have a batchsize of 20.
      With the code provided the last 5 would not be saved as far as I understand unless you do another flush after the for-loop.

      This is probably very clear to any experienced Doctrine developer but maybe it is also confusing for beginners like me (some internet sources say, that flush is executed automatically at the end of the request, but obviously it is not). Maybe this could be mentioned somewhere?


        Jamie Wong created issue -
        Benjamin Eberlei made changes -
        Field Original Value New Value
        Workflow jira [ 13221 ] jira-feedback [ 13993 ]
        Benjamin Eberlei made changes -
        Workflow jira-feedback [ 13993 ] jira-feedback2 [ 15857 ]
        Benjamin Eberlei made changes -
        Workflow jira-feedback2 [ 15857 ] jira-feedback3 [ 18113 ]

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

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


          • Assignee:
            Benjamin Eberlei
            Jamie Wong
          • Votes:
            0 Vote for this issue
            0 Start watching this issue


            • Created: