|
|
|
@ -106,6 +106,7 @@ fun <T : Any> JdbcOperations.queryForList(sql: String, elementType: KClass<T>):
@@ -106,6 +106,7 @@ fun <T : Any> JdbcOperations.queryForList(sql: String, elementType: KClass<T>):
|
|
|
|
|
* @author Mario Arias |
|
|
|
|
* @since 5.0 |
|
|
|
|
*/ |
|
|
|
|
@Suppress("EXTENSION_SHADOWED_BY_MEMBER") |
|
|
|
|
inline fun <reified T : Any> JdbcOperations.queryForList(sql: String): List<T> = |
|
|
|
|
queryForList(sql, T::class.java) |
|
|
|
|
|
|
|
|
@ -124,6 +125,7 @@ fun <T : Any> JdbcOperations.queryForList(sql: String, args: Array<out Any>, arg
@@ -124,6 +125,7 @@ fun <T : Any> JdbcOperations.queryForList(sql: String, args: Array<out Any>, arg
|
|
|
|
|
* @author Mario Arias |
|
|
|
|
* @since 5.0 |
|
|
|
|
*/ |
|
|
|
|
@Suppress("EXTENSION_SHADOWED_BY_MEMBER") |
|
|
|
|
inline fun <reified T : Any> JdbcOperations.queryForList(sql: String, args: Array<out Any>, argTypes: IntArray): List<T> = |
|
|
|
|
queryForList(sql, args, argTypes, T::class.java) |
|
|
|
|
|
|
|
|
|