public abstract class AbstractMapStatementResultHandler extends Object implements StatementResultHandler
Statement results creating a map containing them.| Modifier | Constructor and Description |
|---|---|
protected |
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
|
protected 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 © 2024. All rights reserved.