Interface PreExecutionCallback
- All Known Implementing Classes:
PreDeleteHandling
Callback invoked immediately before executing a planned operation.
- Since:
- 8.0
-
Method Summary
Modifier and TypeMethodDescriptiondefault PreExecutionCallbackand(PreExecutionCallback next) Compose this callback with another, invoked only if this callback returnstrue.booleanbeforeExecution(SessionImplementor session) default booleanWhether pending JDBC work must execute before invoking this callback.
-
Method Details
-
requiresBatchFlush
default boolean requiresBatchFlush()Whether pending JDBC work must execute before invoking this callback. A callback which has already completed its database checks may returnfalse. -
beforeExecution
- Returns:
trueto execute the operation;falseto skip it.
-
and
Compose this callback with another, invoked only if this callback returnstrue. Pending JDBC work must execute first if either callback currently requires it.
-