Annotation Type CollectionId

  • @Target({METHOD,FIELD})
    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
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      Column[] columns
      Collection id column(s).
      java.lang.String generator
      The generator name.
      Type type
      id type, type.type() must be set.
    • Element Detail

      • columns

        Column[] columns
        Collection id column(s).
      • type

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

        java.lang.String generator
        The generator name. For example 'identity' or a defined generator name