public abstract class AbstractMapStatementResultHandler extends Object implements StatementResultHandler
Statement results creating a map containing them.| Constructor and Description |
|---|
AbstractMapStatementResultHandler(ResultSetHandler resultSetHandler) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract Map<String,Object> |
createResultMap() |
Map<String,Object> |
processStatement(DbConnection connection,
Statement statement,
QueryTemplate queryTemplate,
AutoGenerateKeysStrategy autoGenerateKeysStrategy)
Processes the results from a statement execution
|
public AbstractMapStatementResultHandler(ResultSetHandler resultSetHandler)
public Map<String,Object> processStatement(DbConnection connection, Statement statement, QueryTemplate queryTemplate, AutoGenerateKeysStrategy autoGenerateKeysStrategy) throws SQLException
StatementResultHandlerprocessStatement in interface StatementResultHandlerconnection - connection used to execute the statement. Non nullstatement - executed statement. Non nullqueryTemplate - executed query template. Non nullautoGenerateKeysStrategy - strategy used to process auto generated keys. Non nullSQLExceptionCopyright © 2021. All rights reserved.