Annotation Type CollectionId


@Target({METHOD,FIELD}) @Retention(RUNTIME) public @interface CollectionId
Describe an identifier column for a bag (ie an idbag) EXPERIMENTAL: the structure of this annotation might slightly change (generator() mix strategy and generator
  • Element Details

    • columns

      Collection id column(s)
    • type

      Type type
      id type, type.type() must be set
    • generator

      String generator
      generator name: 'identity' or a defined generator name