Jira issue originally created by user shailesh:
DBMS keywords like 'when' can clash with column names. A tool like this should add column name as escaped in annotation for entities.
Comment created by @ocramius:
doctrine doesn't fix bad naming decisions... That can be handled via a naming strategy instead.
Issue was closed with resolution "Won't Fix"