Top Description Fields Constructors Methods
org.hibernate.loader.collection

public Class SubselectOneToManyLoader

extends OneToManyLoader
Class Inheritance
Imports
java.io.Serializable, java.util.Collection, .Iterator, .Map, org.hibernate.HibernateException, .MappingException, org.hibernate.engine.EntityKey, .QueryParameters, .SessionFactoryImplementor, .SessionImplementor, .LoadQueryInfluencers, org.hibernate.persister.collection.QueryableCollection, org.hibernate.type.Type

Implements subselect fetching for a one to many association
Author
Gavin King

Field Summary

Modifier and TypeField and Description
private final Serializable[]
private final Map<K, V>
private final Map<K, V>
private final Type[]
private final Object[]

Constructor Summary

AccessConstructor and Description
public
SubselectOneToManyLoader(QueryableCollection persister, String subquery, Collection<E> entityKeys, QueryParameters queryParameters, Map<K, V> namedParameterLocMap, SessionFactoryImplementor factory, LoadQueryInfluencers loadQueryInfluencers)

Method Summary

Modifier and TypeMethod and Description
public int[]
public void

Field Detail

keysback to summary
private final Serializable[] keys
namedParameterLocMapback to summary
private final Map<K, V> namedParameterLocMap
namedParametersback to summary
private final Map<K, V> namedParameters
typesback to summary
private final Type[] types
valuesback to summary
private final Object[] values

Constructor Detail

SubselectOneToManyLoaderback to summary
public SubselectOneToManyLoader(QueryableCollection persister, String subquery, Collection<E> entityKeys, QueryParameters queryParameters, Map<K, V> namedParameterLocMap, SessionFactoryImplementor factory, LoadQueryInfluencers loadQueryInfluencers) throws MappingException

Method Detail

getNamedParameterLocsback to summary
public int[] getNamedParameterLocs(String name)

Overrides org.hibernate.loader.Loader.getNamedParameterLocs.

initializeback to summary
public void initialize(Serializable id, SessionImplementor session) throws HibernateException

Overrides org.hibernate.loader.collection.CollectionLoader.initialize.

Implements org.hibernate.loader.collection.CollectionInitializer.initialize.

Doc from org.hibernate.loader.collection.CollectionInitializer.initialize.

Initialize the given collection