mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
DDC-2291: [GH-576] Update docs/en/reference/batch-processing.rst #2877
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @doctrinebot on GitHub (Feb 8, 2013).
Originally assigned to: @beberlei on GitHub.
Jira issue originally created by user @beberlei:
This issue is created automatically through a Github pull request on behalf of acasademont:
Url: https://github.com/doctrine/doctrine2/pull/576
Message:
If you have only $batchSize - 1 rows (amongst other cases), the entities are never flushed, you need a final flush outside the loop.
In the bulk insert you should also need a final flush if the number of entities inserted is not a multiple of the $batchSize.
@doctrinebot commented on GitHub (Feb 11, 2013):
Comment created by @beberlei:
A related Github Pull-Request [GH-576] was closed
https://github.com/doctrine/doctrine2/pull/576
@doctrinebot commented on GitHub (Feb 11, 2013):
Issue was closed with resolution "Fixed"