Class Fetch

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

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

  • Method Details

    • getAssociation

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

      @Deprecated(forRemoval=true) public Fetch.Style getStyle()
      Deprecated, for removal: This API element is subject to removal in a future version.
      The fetch style applied to the association.
    • 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