org.mule.module.db.internal.result.statement
Class EagerStatementResultHandler
java.lang.Object
org.mule.module.db.internal.result.statement.AbstractMapStatementResultHandler
org.mule.module.db.internal.result.statement.EagerStatementResultHandler
- All Implemented Interfaces:
- StatementResultHandler
public class EagerStatementResultHandler
- extends AbstractMapStatementResultHandler
Processes Statement results and then closes the statement.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EagerStatementResultHandler
public EagerStatementResultHandler(ResultSetHandler resultSetHandler)
processStatement
public Object processStatement(DbConnection connection,
Statement statement,
QueryTemplate queryTemplate,
AutoGeneratedKeyStrategy autoGeneratedKeyStrategy)
throws SQLException
- Description copied from interface:
StatementResultHandler
- Processes the results from a statement execution
- Specified by:
processStatement in interface StatementResultHandler- Overrides:
processStatement in class AbstractMapStatementResultHandler
- Parameters:
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 null
- Returns:
- a non null the results of the statement execution
- Throws:
SQLException
createResultMap
protected Map<String,Object> createResultMap()
- Specified by:
createResultMap in class AbstractMapStatementResultHandler
Copyright © 2003–2014 MuleSoft, Inc.. All rights reserved.