public class EagerStatementResultHandler extends AbstractMapStatementResultHandler
Constructor and Description |
---|
EagerStatementResultHandler(ResultSetHandler resultSetHandler) |
Modifier and Type | Method and Description |
---|---|
protected Map<String,Object> |
createResultMap() |
Map<String,Object> |
processStatement(DbConnection connection,
Statement statement,
QueryTemplate queryTemplate,
AutoGeneratedKeyStrategy autoGeneratedKeyStrategy)
Processes the results from a statement execution
|
public EagerStatementResultHandler(ResultSetHandler resultSetHandler)
public Map<String,Object> processStatement(DbConnection connection, Statement statement, QueryTemplate queryTemplate, AutoGeneratedKeyStrategy autoGeneratedKeyStrategy) throws SQLException
StatementResultHandler
processStatement
in interface StatementResultHandler
processStatement
in class AbstractMapStatementResultHandler
connection
- connection used to execute the statement. Non nullstatement
- executed statement. Non nullqueryTemplate
- executed query template. Non nullautoGeneratedKeyStrategy
- strategy used to process auto generated keys. Non nullSQLException
protected Map<String,Object> createResultMap()
createResultMap
in class AbstractMapStatementResultHandler
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.