[jpa-spec users] Re: JPA_SPEC-115: Add @Repeatable(containerClass.class)

From: reza_rahman <>
Date: Wed, 26 Apr 2017 07:32:46 -0400

Looks good to me. Thanks for getting this work done amongst many competing priorities.
-------- Original message --------From: Lukas Jungmann <> Date: 4/26/17 6:02 AM (GMT-05:00) To: Subject: [jpa-spec users] JPA_SPEC-115: Add @Repeatable(containerClass.class)

       in order to address adoption of @Repeatable in JPA APIs[1]
      following is the complete list of changed annotations:














    I believe that this is list is clear, non-controversial since all
      of these annotations do have their corresponding container
      annotation and therefore this change can be included in JPA 2.2
    Two other candidates for adding @Repeatable are:

    as both may be specified either on the entity class or on the
      primary key field or property, therefore there might be multiple
      occurrences within one class. But in this case there are currently
      no related container annotations.
    I see too options:
      do not change these annotations
      add javax.persistence.SequenceGenerators and
        javax.persistence.TableGenerators container annotations and add
        @Repeatable to Sequence/TableGenerator as well

    I'd like to propose going with option 2 - or does anyone see why
      it should not be done this way?
    Thank you,