doctrine/doctrine2 — pull request #532 by albertofem (2012-12-11 17:23:03+00:00)
Title: Composite primary keys and datetime fields

When using composite primary keys and fields with date or datetimes, the UnitOfWork throws an exception like "\DateTime object could not be converted to string".

This patch solves this issue by converting the datetime object into a simple timestamp.