Interface PreExecutionCallback

All Known Implementing Classes:
PreDeleteHandling

@Incubating(since="8.0", group="action-queue") public interface PreExecutionCallback
Callback invoked immediately before executing a planned operation.
Since:
8.0
  • 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 return false.
    • beforeExecution

      boolean beforeExecution(SessionImplementor session)
      Returns:
      true to execute the operation; false to skip it.
    • and

      Compose this callback with another, invoked only if this callback returns true. Pending JDBC work must execute first if either callback currently requires it.