Jira issue originally created by user dbojdo:
The colon sign (":") is permitted for columns' name but Doctrine treats them like parameters placeholder:
SELECT `d.ns:col*name` FROM my*table d WHERE `d.date` >= :param1
An exception occurred while executing 'SELECT `d.ns:col*name` FROM my_table d WHERE `d.date` >= :param1' with params ["2013-06-24 14:22:18"]: Value for :col_name not found in params array. Params array key should be "col*name"
Comment created by @beberlei:
does this work with plain PDO?
Comment created by dbojdo:
Yes, it works perfectly fine with PDO. It also works properly with Doctrine\DBAL\Connection.
I suppose there's a bug somewhere in QueryBuilder.
Comment created by @deeky666:
Patch supplied in PR: #477
Comment created by @doctrinebot:
A related Github Pull-Request [GH-477] was closed:
Issue was closed with resolution "Fixed"