doctrine/doctrine2 — pull request #525 by frosas (2012-11-27 15:33:49+00:00)
Title: Ensure onFlush and postFlush events are always called Edit 

See #398 (has been closed as it wasn't against the master branch)