java.lang.Object
org.hibernate.loader.Loader
org.hibernate.loader.BasicLoader
org.hibernate.loader.OuterJoinLoader
org.hibernate.loader.collection.CollectionLoader
- All Implemented Interfaces:
- CollectionInitializer
- Direct Known Subclasses:
- BasicCollectionLoader, OneToManyLoader
- public class CollectionLoader
- extends org.hibernate.loader.OuterJoinLoader
- implements CollectionInitializer
Superclass for loaders that initialize collections
| Fields inherited from class org.hibernate.loader.Loader |
|
| Methods inherited from class org.hibernate.loader.OuterJoinLoader |
getAliases, getCollectionOwners, getCollectionPersisters, getCollectionSuffixes, getDialect, getEnabledFilters, getEntityPersisters, getLockModes, getOwnerAssociationTypes, getOwners, getSQLString, getSuffixes, initFromWalker |
| Methods inherited from class org.hibernate.loader.Loader |
applyLocks, autoDiscoverTypes, bindNamedParameters, bindPositionalParameters, checkScrollability, doList, getEntityEagerPropertyFetches, getFactory, getNamedParameterLocs, getQueryIdentifier, getResultColumnOrRow, getResultList, getResultSet, hasSubselectLoadableCollections, isSingleRowLoader, list, loadCollection, loadCollectionBatch, loadCollectionSubselect, loadEntity, loadEntity, loadEntityBatch, loadSequentialRowsForward, loadSequentialRowsReverse, loadSingleRow, needsFetchingScroll, prepareQueryStatement, preprocessSQL, scroll, upgradeLocks |
collectionPersister
private final org.hibernate.persister.collection.QueryableCollection collectionPersister
CollectionLoader
public CollectionLoader(org.hibernate.persister.collection.QueryableCollection collectionPersister,
org.hibernate.engine.SessionFactoryImplementor factory,
java.util.Map enabledFilters)
isSubselectLoadingEnabled
protected boolean isSubselectLoadingEnabled()
initialize
public void initialize(java.io.Serializable id,
org.hibernate.engine.SessionImplementor session)
throws org.hibernate.HibernateException
- Description copied from interface:
CollectionInitializer
- Initialize the given collection
- Specified by:
initialize in interface CollectionInitializer
getKeyType
protected org.hibernate.type.Type getKeyType()
toString
public java.lang.String toString()
- Description copied from class:
java.lang.Object
- Convert this Object to a human-readable String.
There are no limits placed on how long this String
should be or what it should contain. We suggest you
make it as intuitive as possible to be able to place
it into System.out.println() 55
and such.
It is typical, but not required, to ensure that this method
never completes abruptly with a java.lang.RuntimeException.
This method will be called when performing string
concatenation with this object. If the result is
null, string concatenation will instead
use "null".
The default implementation returns
getClass().getName() + "@" +
Integer.toHexString(hashCode()).