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

public Class CollectionLoader

extends OuterJoinLoader
implements CollectionInitializer
Class Inheritance
All Implemented Interfaces
org.hibernate.loader.collection.CollectionInitializer
Known Direct Subclasses
org.hibernate.loader.collection.OneToManyLoader, org.hibernate.loader.collection.BasicCollectionLoader
Imports
java.io.Serializable, org.hibernate.HibernateException, org.hibernate.engine.SessionFactoryImplementor, .SessionImplementor, .LoadQueryInfluencers, org.hibernate.loader.OuterJoinLoader, org.hibernate.persister.collection.QueryableCollection, org.hibernate.type.Type

Superclass for loaders that initialize collections
Author
Gavin King
See Also
OneToManyLoader, BasicCollectionLoader

Field Summary

Modifier and TypeField and Description
private final QueryableCollection
Inherited from org.hibernate.loader.OuterJoinLoader:
aliasescollectionOwnerscollectionPersisterscollectionSuffixeslockModeArrayownerAssociationTypesownerspersisterssqlsuffixes

Constructor Summary

AccessConstructor and Description
public
CollectionLoader(QueryableCollection collectionPersister, SessionFactoryImplementor factory, LoadQueryInfluencers loadQueryInfluencers)

Method Summary

Modifier and TypeMethod and Description
protected Type
public void
protected boolean
public String
toString()

Overrides org.hibernate.loader.Loader.toString.

Returns a string representation of the object.
Inherited from org.hibernate.loader.OuterJoinLoader:
getAliasesgetCollectionOwnersgetCollectionPersistersgetCollectionSuffixesgetDialectgetEntityPersistersgetLoadQueryInfluencersgetLockModesgetLockOptionsgetOwnerAssociationTypesgetOwnersgetSQLStringgetSuffixesinitFromWalker

Field Detail

collectionPersisterback to summary
private final QueryableCollection collectionPersister

Constructor Detail

CollectionLoaderback to summary
public CollectionLoader(QueryableCollection collectionPersister, SessionFactoryImplementor factory, LoadQueryInfluencers loadQueryInfluencers)

Method Detail

getKeyTypeback to summary
protected Type getKeyType()
initializeback to summary
public void initialize(Serializable id, SessionImplementor session) throws HibernateException

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

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

Initialize the given collection

isSubselectLoadingEnabledback to summary
protected boolean isSubselectLoadingEnabled()

Overrides org.hibernate.loader.Loader.isSubselectLoadingEnabled.

toStringback to summary
public String toString()

Overrides org.hibernate.loader.Loader.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object.

Returns:String

a string representation of the object.