Top Description Methods
org.hibernate.loader.ast.spi

public Interface MultiNaturalIdLoader<E>

extends EntityMultiLoader<E>
Known Direct Implementers
org.hibernate.loader.ast.internal.MultiNaturalIdLoaderArrayParam, org.hibernate.loader.ast.internal.MultiNaturalIdLoaderInPredicate
Type Parameters
<E>
The entity Java type
Imports
java.util.List, org.hibernate.engine.spi.SharedSessionContractImplementor

Loader for entities by multiple natural-ids

Method Summary

Modifier and TypeMethod and Description
public <
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.
K
>
List<E>
multiLoad(K[]
The natural-ids to load. The values of this array will depend on whether the natural-id is simple or complex.
naturalIds
,
MultiNaturalIdLoadOptions options, SharedSessionContractImplementor session)

Load multiple entities by natural-id. The exact result depends on the passed options.

Method Detail

multiLoadback to summary
public <K> List<E> multiLoad(K[] naturalIds, MultiNaturalIdLoadOptions options, SharedSessionContractImplementor session)

Load multiple entities by natural-id. The exact result depends on the passed options.

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.
naturalIds:K[]

The natural-ids to load. The values of this array will depend on whether the natural-id is simple or complex.