Query Executor
A convenient wrapper to simply the interactions among ClassMappingProvider, NpCallableStatement and MappedResultSet.
Constructors
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun <T : Any> queryForObject(connection: Connection, sql: String, parametersDto: Any?, resultType: Class<T>): T?
Execute a prepared statement and get the first row as an object. The statement is closed after this method returns.
Link copied to clipboard
Get value of the first column of the first row of ResultSet. The statement is closed after this method returns.