doctrine/doctrine2 — pull request #693 by Ocramius (2013-06-12 17:55:21+00:00)
Title: Adding failing test for DDC-2214

Parameters being bound to an SQL query should have the same type as
the identifier of the objects being bound to the placeholders of a
DQL query - this is currently broken with proxies, as this test
demonstrates.

This is a demonstration of [DDC-2214](http://www.doctrine-project.org/jira/browse/DDC-2214)