TypeMappingExceptionMessage

Messages for TypeMappingException occurring during conversion between Kotlin and PostgreSQL types.

Entries

Link copied to clipboard

General failure when converting a database value to a Kotlin property.

Link copied to clipboard

Database enum string does not match any entry in the Kotlin enum class.

Link copied to clipboard

Attempted to use a native array (Array) for complex types. Framework requires List for structured types.

Link copied to clipboard

The internal format of a dynamic type (dynamic_dto or dynamic_map) is invalid or corrupted.

Link copied to clipboard

Collection element type does not match the expected generic type.

Link copied to clipboard

General type mismatch during mapping.

Link copied to clipboard

A required (non-null) property in a data class was missing from the query result.

Link copied to clipboard

Critical failure during instantiation of a data class or object mapping.

Link copied to clipboard

Data class contains a generic type parameter which is not supported by reflection mapping.

Link copied to clipboard

JSON deserialization error in dynamic_dto

Link copied to clipboard

Object to JSON serialization error for dynamic_dto

Link copied to clipboard

A non-nullable Kotlin field received a NULL value from the database.

Link copied to clipboard

Expected a single row but the query returned multiple rows.

Link copied to clipboard

User-defined PgCompositeMapper implementation threw an exception.

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.