doctrine/doctrine2 — pull request #1111 by eko (2014-08-15 13:43:40+00:00)
Title: Fix inheritance hierarchy wrong exception message

Hi,

I've fixed this exception message.

It is only throws when trying to make a query with an entity which is not defined in the discriminator mapping here: https://github.com/doctrine/doctrine2/blob/master/lib/Doctrine/ORM/Query/SqlWalker.php#L2075