Update docs/en/reference/batch-processing.rst #576

Merged
merged 1 commit into from Feb 11, 2013

Conversation

Projects
None yet
3 participants
Contributor

acasademont commented Feb 8, 2013

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.

@acasademont acasademont Update docs/en/reference/batch-processing.rst
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.
4c90d0c

Hello,

thank you for positing this Pull Request. I have automatically opened an issue on our Jira Bug Tracker for you with the details of this Pull-Request. See the Link:

http://doctrine-project.org/jira/browse/DDC-2291

beberlei merged commit d08c010 into doctrine:master Feb 11, 2013

1 check passed

default The Travis build passed
Details

acasademont deleted the acasademont:patch-1 branch Feb 11, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment