public class PreparedStatementResultSetHandler extends AbstractParameterResultSetHandler
MockPreparedStatement.AbstractParameterResultSetHandler.ParameterWrapper| Constructor and Description |
|---|
PreparedStatementResultSetHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
addPreparedStatement(MockPreparedStatement statement)
The
Connection adds new statements with
this method. |
void |
clearPreparedStatements()
Clears all prepared statements
|
Map |
getPreparedStatementMap()
Returns a
Map of all prepared statements. |
List |
getPreparedStatements()
Returns a
List of all prepared statements. |
addParameterMapForExecutedStatement, clearGeneratedKeys, clearResultSets, clearThrowsSQLException, clearUpdateCounts, getExecutedStatementParameter, getExecutedStatementParameterMap, getGeneratedKeys, getMatchingParameterWrapper, getParametersForExecutedStatement, getResultSet, getResultSets, getSQLException, getThrowsSQLException, getUpdateCount, getUpdateCounts, hasMultipleResultSets, hasMultipleUpdateCounts, prepareGeneratedKeys, prepareGeneratedKeys, prepareGeneratedKeys, prepareResultSet, prepareResultSet, prepareResultSet, prepareResultSets, prepareResultSets, prepareResultSets, prepareThrowsSQLException, prepareThrowsSQLException, prepareThrowsSQLException, prepareThrowsSQLException, prepareThrowsSQLException, prepareThrowsSQLException, prepareUpdateCount, prepareUpdateCount, prepareUpdateCount, prepareUpdateCounts, prepareUpdateCounts, prepareUpdateCounts, setExactMatchParameteraddExecutedStatement, addReturnedResultSet, addReturnedResultSets, clearGlobalGeneratedKeys, clearGlobalResultSet, clearGlobalUpdateCount, clearReturnsResultSet, createResultSet, createResultSet, createResultSet, createResultSet, getCaseSensitive, getContinueProcessingOnBatchFailure, getExactMatch, getExecutedStatements, getGeneratedKeys, getGeneratedKeysMap, getGlobalGeneratedKeys, getGlobalResultSet, getGlobalResultSets, getGlobalUpdateCount, getGlobalUpdateCounts, getResultSet, getResultSetMap, getResultSets, getReturnedResultSets, getReturnsResultSet, getSQLException, getThrowsSQLException, getUpdateCount, getUpdateCountMap, getUpdateCounts, getUseRegularExpressions, hasMultipleGlobalResultSets, hasMultipleGlobalUpdateCounts, hasMultipleResultSets, hasMultipleUpdateCounts, prepareGeneratedKeys, prepareGlobalGeneratedKeys, prepareGlobalResultSet, prepareGlobalResultSets, prepareGlobalUpdateCount, prepareGlobalUpdateCounts, prepareResultSet, prepareResultSets, prepareReturnsResultSet, prepareThrowsSQLException, prepareThrowsSQLException, prepareUpdateCount, prepareUpdateCounts, setCaseSensitive, setContinueProcessingOnBatchFailure, setExactMatch, setUseRegularExpressionspublic void addPreparedStatement(MockPreparedStatement statement)
Connection adds new statements with
this method.statement - the MockPreparedStatementpublic List getPreparedStatements()
List of all prepared statements.List of MockPreparedStatement objectspublic Map getPreparedStatementMap()
Map of all prepared statements.
The SQL strings map to the corresponding MockPreparedStatement
object.Map of MockPreparedStatement objectspublic void clearPreparedStatements()
Copyright © 2003-2014. All Rights Reserved.