public class FetchProfileBinder extends Object
Constructor and Description |
---|
FetchProfileBinder() |
Modifier and Type | Method and Description |
---|---|
static void |
processFetchProfile(HbmLocalMetadataBuildingContext context,
JaxbHbmFetchProfileType fetchProfileBinding)
Handling for a
<fetch-profile/> declaration. |
static void |
processFetchProfile(HbmLocalMetadataBuildingContext context,
JaxbHbmFetchProfileType fetchProfileBinding,
String containingEntityName)
Handling for a
<fetch-profile/> declaration. |
public static void processFetchProfile(HbmLocalMetadataBuildingContext context, JaxbHbmFetchProfileType fetchProfileBinding)
<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, org.hibernate.boot.jaxb.hbm.spi.JaxbHbmFetchProfileType, String)
context
- Access to information relative to the mapping document containing this bindingfetchProfileBinding
- The <fetch-profile/>
bindingpublic static void processFetchProfile(HbmLocalMetadataBuildingContext context, JaxbHbmFetchProfileType fetchProfileBinding, String containingEntityName)
<fetch-profile/>
declaration.context
- Access to information relative to the mapping document containing this bindingfetchProfileBinding
- The <fetch-profile/>
bindingcontainingEntityName
- The name of the entity containing the fetch profile declaration. May
be null
to indicate a fetch profile defined at the root.Copyright © 2001-2017 Red Hat, Inc. All Rights Reserved.