Doctrine 2 - ORM
  1. Doctrine 2 - ORM
  2. DDC-1088

Description for SequenceGenerator annotation options is wrong

    Details

    • Type: Documentation Documentation
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 2.x
    • Fix Version/s: None
    • Component/s: Documentation
    • Security Level: All
    • Labels:
      None
    • Environment:
      N/A

      Description

      On paragraph 4.8.1.1 SequenceGenerator, the correct example should be:

      <?php
      class User {
      /**

      • @Id
      • @GeneratedValue(strategy="SEQUENCE")
      • @SequenceGenerator(sequenceName="tablename_seq", initialValue=1, allocationSize=100)
        */
        protected $id = null;
        }

        Activity

        Alexandre Mathieu created issue -
        Benjamin Eberlei made changes -
        Field Original Value New Value
        Workflow jira [ 12514 ] jira-feedback [ 13916 ]
        Benjamin Eberlei made changes -
        Workflow jira-feedback [ 13916 ] jira-feedback2 [ 15780 ]
        Benjamin Eberlei made changes -
        Workflow jira-feedback2 [ 15780 ] jira-feedback3 [ 18037 ]

          People

          • Assignee:
            Benjamin Eberlei
            Reporter:
            Alexandre Mathieu
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated: