Class MultiNaturalIdLoaderStandard<E>
- java.lang.Object
-
- org.hibernate.loader.ast.internal.MultiNaturalIdLoaderStandard<E>
-
- All Implemented Interfaces:
EntityLoader,Loader,MultiLoader<E>,MultiNaturalIdLoader<E>
public class MultiNaturalIdLoaderStandard<E> extends Object implements MultiNaturalIdLoader<E>
Standard MultiNaturalIdLoader implementation
-
-
Constructor Summary
Constructors Constructor Description MultiNaturalIdLoaderStandard(EntityMappingType entityDescriptor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EntityMappingTypegetLoadable()The value-mapping loaded by this loader<K> List<E>multiLoad(K[] naturalIds, MultiNaturalIdLoadOptions options, SharedSessionContractImplementor session)Load multiple entities by natural-id.
-
-
-
Constructor Detail
-
MultiNaturalIdLoaderStandard
public MultiNaturalIdLoaderStandard(EntityMappingType entityDescriptor)
-
-
Method Detail
-
multiLoad
public <K> List<E> multiLoad(K[] naturalIds, MultiNaturalIdLoadOptions options, SharedSessionContractImplementor session)
Description copied from interface:MultiNaturalIdLoaderLoad multiple entities by natural-id. The exact result depends on the passed options.- Specified by:
multiLoadin interfaceMultiNaturalIdLoader<E>- Type Parameters:
K- The basic form for a natural-id is a Map of its attribute values, or an array of the values positioned according to "attribute ordering". Simple natural-ids can also be expressed by their simple (basic/embedded) type.- Parameters:
naturalIds- The natural-ids to load. The values of this array will depend on whether the natural-id is simple or complex.
-
getLoadable
public EntityMappingType getLoadable()
Description copied from interface:LoaderThe value-mapping loaded by this loader- Specified by:
getLoadablein interfaceEntityLoader- Specified by:
getLoadablein interfaceLoader
-
-