MappedProperty

annotation class MappedProperty(val name: String = "", val isId: Boolean = false, val valueConverter: KClass<out ValueConverter> = ValueConverter::class)

Indicate that a property is a column value or a parameter value.

Properties

Link copied to clipboard
val isId: Boolean = false

specify if this column is an identifying column, used only when JoinMany annotation is present. You can annotate multiple properties as identifying columns in the case when composite key is need.

Link copied to clipboard

specify the name of the column

Link copied to clipboard

used to convert value when setting a parameter and getting value from ResultSet