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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.9.0, 0.9.6, 0.9.7, 1.0.0, 1.0.1
    • 1.2.0
    • jpa
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: