Details
Description
Table names (and maybe also attribute names?) are not escaped when SQL is generated.
This means, if you create something like this
/**
* @Entity
* @Table(name="groups")
*/
class Group
...
the generated SQL code will be "CREATE TABLE group (id INT...", which fails because "group" is a reserved keyword. It should be escaped with backticks: "CREATE TABLE `group` (id INT..."
You need to quote the tablename by yourself:
http://www.doctrine-project.org/documentation/manual/2_0/en/basic-mapping:quoting-reserved-words