JdbcSetter

fun interface JdbcSetter<T>

Thin wrapper around PreparedStatement set* methods, e.g. PreparedStatement.setString.

The implementation takes ownership of the argument value. The type parameter T is typically not nullable as we have no use for PreparedStatement.setNull for the queries that we run.

Inheritors

Functions

Link copied to clipboard
abstract fun set(stmt: PreparedStatement, paramIdx: Int, value: T)