Package org.hibernate.loader.internal
Interface LoadAccessContext
- All Known Implementing Classes:
SessionImpl
Context for loader-access objects.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Callback to check whether the session is "active"void
The session from which the load originatesload
(LoadEventListener.LoadType loadType, Object id, String entityName, LockOptions lockOptions, Boolean readOnly) Efficiently fire aLoadEvent
with the given type and return the resulting entity instance or proxy.void
Callback to pulse the transaction coordinator
-
Method Details
-
getSession
SessionImplementor getSession()The session from which the load originates -
checkOpenOrWaitingForAutoClose
void checkOpenOrWaitingForAutoClose()Callback to check whether the session is "active" -
pulseTransactionCoordinator
void pulseTransactionCoordinator()Callback to pulse the transaction coordinator -
delayedAfterCompletion
void delayedAfterCompletion() -
load
Object load(LoadEventListener.LoadType loadType, Object id, String entityName, LockOptions lockOptions, Boolean readOnly) Efficiently fire aLoadEvent
with the given type and return the resulting entity instance or proxy.- Since:
- 7.0
-