|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.mockrunner.jdbc.AbstractResultSetHandler
com.mockrunner.jdbc.StatementResultSetHandler
net.sourceforge.sqlunit.test.mock.IntrospectingStatementResultSetHandler
public class IntrospectingStatementResultSetHandler
Extends the StatementResultSetHandler to use introspection.
| Constructor Summary | |
|---|---|
IntrospectingStatementResultSetHandler(java.lang.String catalog)
Instantiate a StatementResultSetHandler that depends on Introspection. |
|
| Method Summary | |
|---|---|
com.mockrunner.mock.jdbc.MockResultSet |
getResultSet(java.lang.String sqlString)
Returns the current result set corresponding to this 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 if there are more result sets available for this SQL query. |
| Methods inherited from class com.mockrunner.jdbc.StatementResultSetHandler |
|---|
addStatement, clearStatements, getStatements |
| Methods inherited from class com.mockrunner.jdbc.AbstractResultSetHandler |
|---|
addExecutedStatement, addReturnedResultSet, clearGlobalResultSet, clearResultSets, clearReturnsResultSet, clearThrowsSQLException, clearUpdateCounts, 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 IntrospectingStatementResultSetHandler(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.AbstractResultSetHandlersqlString - the SQL to execute.
public final boolean hasMoreResults(java.lang.String sqlString)
throws java.sql.SQLException
sqlString - the SQL to look up.
java.sql.SQLException - if one is thrown.public final java.lang.Integer getUpdateCount(java.lang.String sqlString)
getUpdateCount in class com.mockrunner.jdbc.AbstractResultSetHandlersqlString - the SQL string to look up.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||