Package org.hibernate.loader.internal
Interface LoadAccessContext
- All Known Implementing Classes:
SessionImpl
Context for loader-access objects.
-
Method Summary
Modifier and TypeMethodDescriptionvoidCallback to check whether the session is "active"voidThe session from which the load originatesload(LoadEventListener.LoadType loadType, Object id, String entityName, LockOptions lockOptions, Boolean readOnly) Efficiently fire aLoadEventwith the given type and return the resulting entity instance or proxy.voidCallback 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 aLoadEventwith the given type and return the resulting entity instance or proxy.- Since:
- 7.0
-