Jira issue originally created by user romanb:
CASE expressions should be supported in DQL similarly to the definition found in 126.96.36.199 of the JPA 2.0 specification.
Steps: 1) Adjust the BNF
2) Adjust the Parser according to the changed BNF
3) Adjust the SqlWalker? to produce the correct SQL
Comment created by romanb:
The BNF and Parser has already been largely prepared for that.
Comment created by @guilhermeblanco:
Added all Lexer keywords to it. It was breaking some use cases.
Parsing can be easily done. How far is Walker generation far from an acceptable state?
Comment created by @beberlei:
its a 2.1 change, so we can delay that for now or not? adding the keyword is a good idea though, maybe we should think about some other keywords that we potentially need in the future?
I will try to finish this for 2.1.
In this commit: 816ce41
And documented in this commit: doctrine/orm-documentation@189c729
This support was FINALLY included. =)
Issue was closed with resolution "Fixed"