open class GenericSqlQuery<T : Any> : SqlQuery<T>
A concrete variant of SqlQuery which can be configured with a RowMapper.
Author
Thomas Risberg
Author
Juergen Hoeller
Since
3.0
See Also
#setRowMapper#setRowMapperClass
GenericSqlQuery()
A concrete variant of SqlQuery which can be configured with a RowMapper. |
open fun afterPropertiesSet(): Unit |
|
open fun setRowMapper(rowMapper: RowMapper<T>): Unit
Set a specific RowMapper instance to use for this query. |
|
open fun setRowMapperClass(rowMapperClass: Class<out RowMapper<Any>>): Unit
Set a RowMapper class for this query, creating a fresh RowMapper instance per execution. |