Strong typehinting to avoid incorrect constructor params
Fixing incorrect constructor params for PreFlushEventArgs
Added YAML configuration example for "Simple Derived Identity" in "Composite and Foreign Keys as Primary Key" Tutorial
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.
Merge pull request #575 from naitsirch/master

Added YAML configuration example for "Simple Derived Identity" in Docs
Merge pull request #576 from acasademont/patch-1

Update docs/en/reference/batch-processing.rst
Fixed wrong return types in documentation.
Merge pull request #578 from BenMorel/docfix

Fix for wrong return types in documentation.
Merge pull request #569 from Ocramius/hotfix/pre-flush-event-args-params

Hotfix/pre flush event args params
second cache level POC
remove entity cache