Annotation Interface QueryHints


@Target(METHOD) @Retention(RUNTIME) public @interface QueryHints
Allows to specify query hints for particular repository query. In case of inheritance will be merged with the ancestor's QueryHints annotation.
See Also:
  • AnnotatedElementUtils.findMergedAnnotation(AnnotatedElement, Class)
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    jakarta.persistence.QueryHint[]
     
  • Element Details

    • value

      jakarta.persistence.QueryHint[] value
      Default:
      {}