Module jakarta.data

Annotation Interface Select.List

Enclosing class:
Select

@Documented @Retention(RUNTIME) @Target(METHOD) public static @interface Select.List
Enables multiple Select annotations on a repository Find method that returns a Java record type. Multiple Select annotations must not be used on any other types of method.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Returns a list of annotations with the first corresponding to the first record component, the second to the second record component, and so forth.
  • Element Details

    • value

      Select[] value
      Returns a list of annotations with the first corresponding to the first record component, the second to the second record component, and so forth.
      Returns:
      list of annotations.