Doctrine 2 - ORM

Querying subclass entities using DQL results in broken SQL being generated