doctrine/doctrine2 — pull request #814 by iBiryukov (2013-10-06 03:29:23+00:00)
Title: Fixed a situation where unnecessary sql UPDATE statements were issued fo...

...r unchanged DateTime objects

computeChangeSet method in unitOfWork compares original and new data using 'identical' (===) operator. This works well, except for DateTime objects.

Two different DateTime objects that contain the same data, should not trigger an unnecessary UPDATE query.

I made changes to account for this case.