spring-framework / org.springframework.jdbc.support / SqlValue / setValue

setValue

abstract fun setValue(ps: PreparedStatement, paramIndex: Int): Unit

Set the value on the given PreparedStatement.

Parameters

ps - the PreparedStatement to work on

paramIndex - the index of the parameter for which we need to set the value

Exceptions

SQLException - if a SQLException is encountered while setting parameter values