|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.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 Summary | |
CollectionLoadContext(PersistenceContext context)
|
Method Summary | |
void |
endLoadingCollections(CollectionPersister persister,
Object resultSetId,
SessionImplementor session)
Finish the process of loading collections for a particular result set |
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 |
PersistentCollection |
getLoadingCollection(CollectionPersister persister,
Serializable key,
Object resultSetId,
EntityMode em)
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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CollectionLoadContext(PersistenceContext context)
Method Detail |
public PersistentCollection getLoadingCollection(CollectionPersister persister, Serializable key, Object resultSetId, EntityMode em) throws HibernateException
HibernateException
public PersistentCollection getLoadingCollection(CollectionPersister persister, Serializable id, EntityMode em)
public void endLoadingCollections(CollectionPersister persister, Object resultSetId, SessionImplementor session) throws HibernateException
HibernateException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |