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.-
Method Summary
Modifier and TypeMethodDescriptionboolean
void
invokeAfterLoadActions
(Object entity, EntityMappingType entityMappingType, SharedSessionContractImplementor session) Invoke all registered actionsvoid
registerAfterLoadAction
(AfterLoadAction afterLoadAction) Register a callback action
-
Method Details
-
registerAfterLoadAction
Register a callback action -
hasAfterLoadActions
boolean hasAfterLoadActions()
-