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

OneToManyLoader

public class OneToManyLoader extends CollectionLoader
Loads one-to-many associations

The collection persister must implement QueryableCOllection. For other collections, create a customized subclass of Loader.
see
BasicCollectionLoader
author
Gavin King

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


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

		this(oneToManyPersister, batchSize, null, factory, enabledFilters);
	
public OneToManyLoader(org.hibernate.persister.collection.QueryableCollection oneToManyPersister, int batchSize, String subquery, org.hibernate.engine.SessionFactoryImplementor factory, Map enabledFilters)


		super(oneToManyPersister, factory, enabledFilters);
		
		JoinWalker walker = new OneToManyJoinWalker(
				oneToManyPersister, 
				batchSize, 
				subquery, 
				factory, 
				enabledFilters
			);
		initFromWalker( walker );

		postInstantiate();

		log.debug( "Static select for one-to-many " + oneToManyPersister.getRole() + ": " + getSQLString() );
	
Methods Summary