Class BulkLoadUnsupportedException

All Implemented Interfaces:
Serializable, Iterable<Throwable>

public class BulkLoadUnsupportedException extends SQLException
Signals that a DatabaseSupport could not disable constraint enforcement for an UNORDERED_BULK fill — for example, the connecting role lacks the privilege to set PostgreSQL's session_replication_role.

DatabaseFiller probes for this once before fanning out and, when it is thrown, gracefully falls back to the ordered level-parallel fill path rather than running with constraints half-disabled. It extends SQLException so it propagates naturally through the fill API while remaining catchable as a distinct type.

Since:
2.17.0
See Also:
  • Constructor Details

    • BulkLoadUnsupportedException

      public BulkLoadUnsupportedException(String message, Throwable cause)
      Creates the exception with a message and underlying cause.
      Parameters:
      message - the detail message
      cause - the underlying SQL failure (e.g. an insufficient-privilege error)