Annotation Type FetchProfileOverride

    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      String profile
      The name of the fetch profile in which this fetch mode should be applied.
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      FetchType fetch
      The timing of association fetching in the named fetch profile.
      FetchMode mode
      The method that should be used to fetch the association in the named fetch profile.
    • Element Detail

      • profile

        String profile
        The name of the fetch profile in which this fetch mode should be applied.
      • mode

        FetchMode mode
        The method that should be used to fetch the association in the named fetch profile.
        Default:
        org.hibernate.annotations.FetchMode.JOIN
      • fetch

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