Home » Hibernate-3.3.2.GA » org.hibernate » engine » [javadoc | source]
org.hibernate.engine
public class: CollectionLoadContext [javadoc | source]
java.lang.Object
   org.hibernate.engine.CollectionLoadContext
Represents the state of collections currently being loaded. Eventually, I would like to have multiple instances of this per session - one per JDBC result set, instead of the resultSetId being passed.
Constructor:
 public CollectionLoadContext(PersistenceContext context) 
Method from org.hibernate.engine.CollectionLoadContext Summary:
endLoadingCollections,   getLoadingCollection,   getLoadingCollection
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.hibernate.engine.CollectionLoadContext Detail:
 public  void endLoadingCollections(CollectionPersister persister,
    Object resultSetId,
    SessionImplementor session) throws HibernateException 
    Finish the process of loading collections for a particular result set
 public PersistentCollection getLoadingCollection(CollectionPersister persister,
    Serializable id,
    EntityMode em) 
    Retrieve a collection that is in the process of being loaded, returning null if there is no loading collection with the given id
 public PersistentCollection getLoadingCollection(CollectionPersister persister,
    Serializable key,
    Object resultSetId,
    EntityMode em) throws HibernateException 
    Retrieve a collection that is in the process of being loaded, instantiating a new collection if there is nothing for the given id, or returning null if the collection with the given id is already fully loaded in the session