ConstraintViolationExceptionMessage

Messages for ConstraintViolationException representing specific database integrity rules.

Corresponds to PostgreSQL Class 23 (Integrity Constraint Violation).

Entries

Link copied to clipboard

A duplicate value was provided for a unique column or index (PostgreSQL 23505).

Link copied to clipboard

A value was provided that does not exist in the referenced table (PostgreSQL 23503).

Link copied to clipboard

A null value was provided for a non-nullable column (PostgreSQL 23502).

Link copied to clipboard

A value was provided that fails a CHECK constraint (PostgreSQL 23514).

Link copied to clipboard

General data integrity error, such as exclusion constraint violations (PostgreSQL 23P01).

Link copied to clipboard

A constraint violation that occurred at the end of a transaction for a deferred constraint.

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.