Skip to content

Small updates to Doctrine ORM pages #94

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from
Closed

Small updates to Doctrine ORM pages #94

wants to merge 2 commits into from

Conversation

azogheb
Copy link

@azogheb azogheb commented Feb 6, 2011

No description provided.

@@ -88,6 +88,7 @@ write mapping information with annotations, XML, or YAML:
namespace Sensio\HelloBundle\Entity;

/**
* @orm:Table()
* @orm:Entity
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe the Table annotation is optional - you should only need it if you're customizing something (e.g. the table name): http://www.doctrine-project.org/docs/orm/2.0/en/reference/annotations-reference.html#annref-table

@weaverryan
Copy link
Member

Merged in. The "AUTO" id strategy should in fact be the best-practice value according to lsmith and beberlei - so nice catch.

Thanks Alex.

xabbuh pushed a commit that referenced this pull request Jul 28, 2016
add missing cross-references
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants