Annotation Type FetchProfile.FetchOverride

    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      String association
      The association whose default fetch strategy is being overridden.
      Class<?> entity
      The entity containing the association whose default fetch strategy is being overridden.
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      FetchType fetch
      The timing of association fetching in the fetch profile being defined.
      FetchMode mode
      The method used for fetching the association in the fetch profile being defined.
    • Element Detail

      • entity

        Class<?> entity
        The entity containing the association whose default fetch strategy is being overridden.
      • association

        String association
        The association whose default fetch strategy is being overridden.
      • mode

        FetchMode mode
        The method used for fetching the association in the fetch profile being defined.
        Default:
        org.hibernate.annotations.FetchMode.JOIN
      • fetch

        FetchType fetch
        The timing of association fetching in the fetch profile being defined.
        Default:
        jakarta.persistence.FetchType.EAGER