DDC-434: GeneratedValue does not default to 'AUTO' #4934

doctrinebot opened this Issue Mar 17, 2010 · 4 comments

1 participant


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*'.

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 ;)

@doctrinebot doctrinebot added this to the 2.0-BETA1 milestone Dec 6, 2015
@doctrinebot doctrinebot closed this Dec 6, 2015
@doctrinebot doctrinebot added the Bug label Dec 7, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment