DDC-1416: bug in simple test with sub query #2040

doctrinebot opened this Issue Oct 13, 2011 · 2 comments

2 participants


Jira issue originally created by user waldo2188:

For exemple :

$query = $em->createQuery("SELECT * FROM address WHERE :aValue IN (1, 2, 3, 4, 5, 6, 7, 8, 9, 10)");

Doctrine throw that error : Doctrine\ORM\Query\QueryException: [Semantical Error] line 0, col xxx near ':aValue': Error: ':aValue' is not defined.

But in SQL this type of request is posible.


Comment created by @guilhermeblanco:

Fixed in trunk: 0380d5a


Issue was closed with resolution "Fixed"

@doctrinebot doctrinebot added this to the 2.2 milestone Dec 6, 2015
@doctrinebot doctrinebot closed this Dec 6, 2015
@doctrinebot doctrinebot added the Bug label Dec 7, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment