BasicCollectionLoaderpublic 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. |
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() );
|
|