doctrine/doctrine2 — pull request #429 by craigmarvelley (2012-08-22 14:23:02+00:00)
Title: Ensure a parameter mapping entry exists for InstanceOf DQL expressions

Hi,

This is a possible fix for http://www.doctrine-project.org/jira/browse/DDC-1995, in that it resolves the issue for me but I'm afraid I haven't had time to test it extensively with more complex queries than the use case I gave in that ticket.

Cheers,
Craig