FileDocCategorySizeDatePackage
BasicCollectionLoader.javaAPI DocHibernate 3.2.51907Mon Jun 13 15:10:20 BST 2005org.hibernate.loader.collection

BasicCollectionLoader

public class BasicCollectionLoader extends CollectionLoader
Loads a collection of values or a many-to-many association.
The collection persister must implement QueryableCOllection. For other collections, create a customized subclass of Loader.
see
OneToManyLoader
author
Gavin King

Fields Summary
private static final Log
log
Constructors Summary
public BasicCollectionLoader(org.hibernate.persister.collection.QueryableCollection collectionPersister, org.hibernate.engine.SessionFactoryImplementor session, Map enabledFilters)


	 
			  
			  
			 
	  
		this(collectionPersister, 1, session, enabledFilters);
	
public BasicCollectionLoader(org.hibernate.persister.collection.QueryableCollection collectionPersister, int batchSize, org.hibernate.engine.SessionFactoryImplementor factory, Map enabledFilters)

		this(collectionPersister, batchSize, null, factory, enabledFilters);
	
protected BasicCollectionLoader(org.hibernate.persister.collection.QueryableCollection collectionPersister, int batchSize, String subquery, org.hibernate.engine.SessionFactoryImplementor factory, Map enabledFilters)

		
		super(collectionPersister, factory, enabledFilters);
		
		JoinWalker walker = new BasicCollectionJoinWalker(
				collectionPersister, 
				batchSize, 
				subquery, 
				factory, 
				enabledFilters
			);
		initFromWalker( walker );

		postInstantiate();

		log.debug( "Static select for collection " + collectionPersister.getRole() + ": " + getSQLString() );
	
Methods Summary