Jira issue originally created by user mluiten:
Excerpt from the docs at http://www.doctrine-project.org/documentation/manual/2_0/en/basic-mapping#identifiers-/-primary-keys:
This tells Doctrine to automatically generate a value for the identifier. How this value is generated is specified by the strategy attribute, which is optional and defaults to 'AUTO'.
However, when trying to use the Annotation @GeneratedValue, i get an Undefined class constant 'Doctrine\ORM\Mapping\ClassMetadata::GENERATOR*TYPE*'.
Undefined class constant 'Doctrine\ORM\Mapping\ClassMetadata::GENERATOR*TYPE*'
See attachment for patch.
Comment created by romanb:
Well, you should try trunk first, to see whether something is already implemented :)
Issue was closed with resolution "Invalid"
Comment created by mluiten:
I really should. Sorry. Didn't encounter the link to trunk/2.0 branch on my way to the JIRA. Actually couldn't find a link to trunk anywhere.
At least the patch was bang-on ;)
Imported 1 attachments from Jira into https://gist.github.com/da7913f232d4c1716fb3