BadStatementExceptionMessage

Messages for BadStatementException categorized by their root cause.

Categories primarily cover PostgreSQL Class 42 (Syntax Error or Access Rule Violation) and framework-level validation errors during query building.

Entries

Link copied to clipboard

Mandatory clause (like WHERE in DELETE) is missing.

Link copied to clipboard

Named parameters defined in SQL are missing in the builder.

Link copied to clipboard

Same parameter name used multiple times with conflicting definitions.

Link copied to clipboard

Operation attempted in a state not allowed by the transaction (e.g., write in read-only transaction).

Link copied to clipboard

Query builder is in an inconsistent state for the requested operation.

Link copied to clipboard

Iterative query with fetchSize > 0 requires an active transaction.

Link copied to clipboard

The requested feature is not supported by the current database provider or configuration.

Link copied to clipboard

SQL syntax is malformed (PostgreSQL 42601, 42602, etc.).

Link copied to clipboard

Referenced table, column, function, or other object does not exist (PostgreSQL 42703, 42P01, etc.).

Link copied to clipboard

Attempt to create an object that already exists (PostgreSQL 42701, 42P07, etc.).

Link copied to clipboard

Reference to an object is ambiguous (PostgreSQL 42702, 42725, etc.).

Link copied to clipboard

Data type mismatch or invalid type coercion (PostgreSQL 42804, 42P18, etc.).

Link copied to clipboard

General error in object definition or schema mismatch.

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.