Doctrine 2 - ORM

CASE expressions do not work as documented in EBNF