|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.mockrunner.jdbc.AbstractResultSetHandler com.mockrunner.jdbc.AbstractParameterResultSetHandler com.mockrunner.jdbc.AbstractOutParameterResultSetHandler com.mockrunner.jdbc.CallableStatementResultSetHandler net.sourceforge.sqlunit.test.mock.IntrospectingCallableStatementResultSetHandler
public class IntrospectingCallableStatementResultSetHandler
Extends the CallableStatementResultSetHandler to use introspection.
Constructor Summary | |
---|---|
IntrospectingCallableStatementResultSetHandler(java.lang.String catalog)
Instantiate a CallableStatementResultSetHandler that depends on Introspection. |
Method Summary | |
---|---|
java.lang.Object |
getOutParam(java.lang.String sqlString,
int pIndex,
int sqlType)
Returns the result set at the specified index. |
com.mockrunner.mock.jdbc.MockResultSet |
getResultSet(java.lang.String sqlString)
Returns the current result set for the SQL call. |
java.lang.Integer |
getUpdateCount(java.lang.String sqlString)
Returns the update count for the specified SQL string. |
boolean |
hasMoreResults(java.lang.String sqlString)
Returns true of there are more result sets available for this SQL call. |
Methods inherited from class com.mockrunner.jdbc.CallableStatementResultSetHandler |
---|
addCallableStatement, clearCallableStatements, getCallableStatementMap, getCallableStatements |
Methods inherited from class com.mockrunner.jdbc.AbstractOutParameterResultSetHandler |
---|
clearOutParameter, getGlobalOutParameter, getOutParameter, getOutParameter, prepareGlobalOutParameter, prepareOutParameter, prepareOutParameter, prepareOutParameter, prepareOutParameter |
Methods inherited from class com.mockrunner.jdbc.AbstractParameterResultSetHandler |
---|
clearResultSets, clearThrowsSQLException, clearUpdateCounts, doParameterMatch, getResultSet, getThrowsSQLException, getUpdateCount, prepareResultSet, prepareResultSet, prepareResultSet, prepareThrowsSQLException, prepareThrowsSQLException, prepareThrowsSQLException, prepareUpdateCount, prepareUpdateCount, prepareUpdateCount, setExactMatchParameter |
Methods inherited from class com.mockrunner.jdbc.AbstractResultSetHandler |
---|
addExecutedStatement, addReturnedResultSet, clearGlobalResultSet, clearReturnsResultSet, createResultSet, createResultSet, createResultSet, createResultSet, getCaseSensitive, getExactMatch, getExecutedStatements, getGlobalResultSet, getGlobalUpdateCount, getResultSetMap, getReturnedResultSets, getReturnsResultSet, getThrowsSQLException, getUpdateCountMap, prepareGlobalResultSet, prepareGlobalUpdateCount, prepareResultSet, prepareReturnsResultSet, prepareThrowsSQLException, prepareUpdateCount, setCaseSensitive, setExactMatch |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IntrospectingCallableStatementResultSetHandler(java.lang.String catalog)
catalog
- the name of the class to introspect.Method Detail |
---|
public final com.mockrunner.mock.jdbc.MockResultSet getResultSet(java.lang.String sqlString)
getResultSet
in class com.mockrunner.jdbc.AbstractResultSetHandler
sqlString
- the SQL string to execute.
public final boolean hasMoreResults(java.lang.String sqlString) throws java.sql.SQLException
sqlString
- the SQL string to look up.
java.sql.SQLException
- if an error occurs.public final java.lang.Object getOutParam(java.lang.String sqlString, int pIndex, int sqlType) throws java.sql.SQLException
sqlString
- the SQL string to look up.pIndex
- the parameter index (1-based).sqlType
- the SQL Type of the parameter.
java.sql.SQLException
- if an error occurs.public final java.lang.Integer getUpdateCount(java.lang.String sqlString)
getUpdateCount
in class com.mockrunner.jdbc.AbstractResultSetHandler
sqlString
- the SQL string to look up.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |