Top Fields Constructors Methods
org.hibernate.loader.ast.internal

public Class CollectionLoaderNamedQuery

extends Object
implements CollectionLoader
Class Inheritance
All Implemented Interfaces
org.hibernate.loader.ast.spi.CollectionLoader, org.hibernate.loader.ast.spi.Loader
Imports
org.hibernate.FlushMode, org.hibernate.collection.spi.PersistentCollection, org.hibernate.engine.spi.CollectionKey, .SharedSessionContractImplementor, org.hibernate.loader.ast.spi.CollectionLoader, org.hibernate.metamodel.mapping.PluralAttributeMapping, org.hibernate.persister.collection.CollectionPersister, org.hibernate.query.QueryTypeMismatchException, org.hibernate.query.named.NamedQueryMemento, org.hibernate.query.spi.QueryImplementor, jakarta.persistence.Parameter, java.util.List

Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
private final NamedQueryMemento
private final CollectionPersister

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public PluralAttributeMapping
getLoadable()

Implements org.hibernate.loader.ast.spi.CollectionLoader.getLoadable.

The value-mapping loaded by this loader
public PersistentCollection<?>
load(Object key, SharedSessionContractImplementor session)

Implements org.hibernate.loader.ast.spi.CollectionLoader.load.

Load a collection by its key (not necessarily the same as its owner's PK).
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

namedQueryMementoback to summary
private final NamedQueryMemento namedQueryMemento
persisterback to summary
private final CollectionPersister persister

Constructor Detail

CollectionLoaderNamedQueryback to summary
public CollectionLoaderNamedQuery(CollectionPersister persister, NamedQueryMemento namedQueryMemento)

Method Detail

getLoadableback to summary
public PluralAttributeMapping getLoadable()

Implements org.hibernate.loader.ast.spi.CollectionLoader.getLoadable.

Doc from org.hibernate.loader.ast.spi.Loader.getLoadable.

The value-mapping loaded by this loader

Annotations
@Override
loadback to summary
public PersistentCollection<?> load(Object key, SharedSessionContractImplementor session)

Implements org.hibernate.loader.ast.spi.CollectionLoader.load.

Doc from org.hibernate.loader.ast.spi.CollectionLoader.load.

Load a collection by its key (not necessarily the same as its owner's PK).

Annotations
@Override