Package org.hibernate.sql.exec.spi
Interface Callback
- All Known Implementing Classes:
CallbackImpl,CallbackNoOp
public interface Callback
Callback to allow SQM interpretation to trigger certain things within ORM. See the current
AfterLoadAction javadocs for details. Specifically this would
encompass things like follow-on locking, follow-on fetching, etc.- Author:
- Steve Ebersole
-
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidinvokeAfterLoadActions(Object entity, EntityMappingType entityMappingType, SharedSessionContractImplementor session) Invoke all registered actionsdefault voidinvokeAfterLoadActions(SharedSessionContractImplementor session, Object entity, Loadable persister) Deprecated, for removal: This API element is subject to removal in a future version.Use the updated signaturevoidregisterAfterLoadAction(AfterLoadAction afterLoadAction) Register a callback action
-
Method Details
-
registerAfterLoadAction
Register a callback action -
hasAfterLoadActions
boolean hasAfterLoadActions()
-