Class Fetch

java.lang.Object
org.hibernate.engine.profile.Fetch

public class Fetch extends Object
Models an individual fetch override within a FetchProfile.
  • Constructor Details

    • Fetch

      public Fetch(Association association, FetchStyle method, FetchTiming timing)
      Constructs a Fetch.
      Parameters:
      association - The association to be fetched
      method - How to fetch it
  • Method Details

    • getAssociation

      public Association getAssociation()
      The association to which the fetch style applies.
    • getMethod

      public FetchStyle getMethod()
      The fetch method to be applied to the association.
    • getTiming

      public FetchTiming getTiming()
      The fetch timing to be applied to the association.
    • toString

      public String toString()
      Overrides:
      toString in class Object