Class FetchProfileBinder

java.lang.Object
org.hibernate.boot.model.source.internal.hbm.FetchProfileBinder

public class FetchProfileBinder extends Object
  • Constructor Details

    • FetchProfileBinder

      public FetchProfileBinder()
  • Method Details

    • processFetchProfile

      public static void processFetchProfile(HbmLocalMetadataBuildingContext context, JaxbHbmFetchProfileType fetchProfileBinding)
      Handling for a <fetch-profile/> declaration.

      This form handles fetch profiles defined at the <hibernate-mapping/> root. For handling of fetch profiles defined within an entity, see processFetchProfile(HbmLocalMetadataBuildingContext, JaxbHbmFetchProfileType, String)

      Parameters:
      context - Access to information relative to the mapping document containing this binding
      fetchProfileBinding - The <fetch-profile/> binding
    • processFetchProfile

      public static void processFetchProfile(HbmLocalMetadataBuildingContext context, JaxbHbmFetchProfileType fetchProfileBinding, String containingEntityName)
      Handling for a <fetch-profile/> declaration.
      Parameters:
      context - Access to information relative to the mapping document containing this binding
      fetchProfileBinding - The <fetch-profile/> binding
      containingEntityName - The name of the entity containing the fetch profile declaration. May be null to indicate a fetch profile defined at the root.