Param

@Target(allowedTargets = [AnnotationTarget.FIELD])
annotation class Param(val name: String = "", val converter: KClass<out ParamValueConverter> = ParamNoOpConverter::class)

Map a property to a parameter name. By default, a property without any param mapping annotation is mapped to a parameter based on that property's name

Properties

Link copied to clipboard

Specify a converter to use to convert the property's value before passing it to PreparedStatement.setObject(index)

Link copied to clipboard

Specify the name of the parameter. The name is case-insensitive.