Auto quote reserved words with Doctrine 2

This was an issue I raised a while back with the Doctrine team.

https://github.com/doctrine/doctrine2/issues/2409

The ticket was closed with the comment:

You have to manually escape characters with @Column(name=”`integer`”)

So I guess you’d need to deal with any reserved keywords in your annotations

Leave a Comment