[DDC-2194] [GH-532] Composite primary keys and datetime fields Created: 11/Dec/12 Updated: 16/Dec/12 Resolved: 16/Dec/12
|Project:||Doctrine 2 - ORM|
|Reporter:||Benjamin Eberlei||Assignee:||Benjamin Eberlei|
This issue is created automatically through a Github pull request on behalf of albertofem:
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.
|Comment by Benjamin Eberlei [ 16/Dec/12 ]|
A related Github Pull-Request [GH-532] was closed