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

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
open val columnTypes: List<KClass<out IColumnType<*>>>

List of column types this mapper supports. If empty, the mapper supports all column types.

Link copied to clipboard

List of dialects this mapper supports. If empty, the mapper supports all dialects.

Functions

Link copied to clipboard
open override fun setValue(    statement: Statement,     dialect: DatabaseDialect,     mapperRegistry: TypeMapperRegistry,     columnType: IColumnType<*>,     value: Any?,     index: Int): Boolean

Sets a value in the statement.