doctrine/doctrine2 — pull request #286 by saem (2012-02-15 00:13:48+00:00)
Title: Clear set of readOnlyObjects in UnitOfWork

This fixes issues due to hash collisions, as spl_object_hash reuses hash values, when using clear interspersed within a bulk insert.