Annotation Type QueryHint


  • @Target({})
    @Retention(RUNTIME)
    public @interface QueryHint
    Used to supply a query property or hint to the NamedQuery or NamedNativeQuery annotation.

    Vendor-specific hints that are not recognized by a provider are ignored.

    Since:
    1.0
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      java.lang.String name
      Name of the hint.
      java.lang.String value
      Value of the hint.
    • Element Detail

      • name

        java.lang.String name
        Name of the hint.
      • value

        java.lang.String value
        Value of the hint.