Annotation Interface First


@Retention(RUNTIME) @Target(METHOD) public @interface First
The annotation indicates that how many results should be fetched by the repository method.
Since:
5.0
Author:
Denis Stepanov
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    int
    The limit on the number of results returned by the repository method.
  • Element Details

    • value

      int value
      The limit on the number of results returned by the repository method. Must be strictly positive.
      Default:
      1