OpenJPA
  1. OpenJPA
  2. OPENJPA-470

Custom sequences specified via @SequenceGenerator must have parentheses at the end of the class name

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.9.0, 0.9.6, 0.9.7, 1.0.0, 1.0.1
    • Fix Version/s: 1.2.0
    • Component/s: jpa
    • Labels:
      None

      Description

      When specifying a custom sequence to use via the @SequenceGenerator annotation, the class name specified in the sequenceName field must have open and close parentheses at the end of it. If no parentheses are present, OpenJPA assumes that the sequence name is the name of a sequence in the database, not a classname to use.

        Issue Links

          Activity

          Hide
          Pinaki Poddar added a comment -

          This was mentioned in the documentation (Section 6. Generators). Highlighted it using blockquotes.

          Show
          Pinaki Poddar added a comment - This was mentioned in the documentation (Section 6. Generators). Highlighted it using blockquotes.

            People

            • Assignee:
              Unassigned
              Reporter:
              Patrick Linskey
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development