Package org.hibernate.sql.results.spi
Class LoadContexts
java.lang.Object
org.hibernate.sql.results.spi.LoadContexts
Maintains a Stack of processing state related to performing load operations.
The state is defined by
JdbcValuesSourceProcessingState
which
encapsulates the data to be processed by the load whether the data comes from
a ResultSet or second-level cache hit.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
cleanup()
Release internal state associated with *all* result sets.void
findLoadingCollectionEntry
(CollectionKey collectionKey) Retrieves the persistence context to which this is bound.boolean
void
-
Constructor Details
-
LoadContexts
-
-
Method Details
-
register
-
deregister
-
isLoadingFinished
public boolean isLoadingFinished() -
findLoadingCollectionEntry
-
getPersistenceContext
Retrieves the persistence context to which this is bound.- Returns:
- The persistence context to which this is bound.
-
cleanup
public void cleanup()Release internal state associated with *all* result sets.This is intended as a "failsafe" process to make sure we get everything cleaned up and released.
-