DefaultTypeMapper
Default mapper for types that aren't handled by other mappers. This mapper should be registered last in the registry.
This mapper handles all types, so we don't specify columnTypes or dialects It will be used as a last resort when no other mapper can handle the column type
Properties
Functions
Link copied to clipboard
open fun <T> getValue(row: Row, type: Class<T>?, index: Int, dialect: DatabaseDialect, columnType: IColumnType<*>): ValueContainer<T?>
Retrieves a value from the given row at the specified index. This method attempts to extract and convert a value from the database row to the requested type, taking into account the database dialect and column type.
Link copied to clipboard
open override fun setValue( statement: Statement, dialect: DatabaseDialect, typeMapping: R2dbcTypeMapping, columnType: IColumnType<*>, value: Any?, index: Int): Boolean
Sets a value in the statement.