Uploaded image for project: 'OpenJPA'
  1. OpenJPA
  2. OPENJPA-470

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: 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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: