| Package | Description |
|---|---|
| com.mockrunner.jdbc | |
| com.mockrunner.mock.jdbc |
| Modifier and Type | Method and Description |
|---|---|
MockPreparedStatement |
JDBCTestModule.getPreparedStatement(int index)
Returns a
MockPreparedStatement that was
created using a MockConnection by its index. |
protected MockPreparedStatement |
BasicJDBCTestCaseAdapter.getPreparedStatement(int index)
Delegates to
JDBCTestModule.getPreparedStatement(int) |
MockPreparedStatement |
JDBCTestModule.getPreparedStatement(String sql)
Returns a
MockPreparedStatement that was
created using a MockConnection by its SQL statement. |
protected MockPreparedStatement |
BasicJDBCTestCaseAdapter.getPreparedStatement(String sql)
Delegates to
JDBCTestModule.getPreparedStatement(String) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,List<MockPreparedStatement>> |
PreparedStatementResultSetHandler.getPreparedStatementMap()
Returns a
Map of all prepared statements. |
List<MockPreparedStatement> |
PreparedStatementResultSetHandler.getPreparedStatements()
Returns a
List of all prepared statements. |
List<MockPreparedStatement> |
JDBCTestModule.getPreparedStatements()
Returns all
MockPreparedStatement objects. |
protected List<MockPreparedStatement> |
BasicJDBCTestCaseAdapter.getPreparedStatements()
Delegates to
JDBCTestModule.getPreparedStatements() |
List<MockPreparedStatement> |
JDBCTestModule.getPreparedStatements(String sql)
Returns all
MockPreparedStatement objects with
the specified SQL statement as a List. |
protected List<MockPreparedStatement> |
BasicJDBCTestCaseAdapter.getPreparedStatements(String sql)
Delegates to
JDBCTestModule.getPreparedStatements(String) |
| Modifier and Type | Method and Description |
|---|---|
void |
PreparedStatementResultSetHandler.addPreparedStatement(MockPreparedStatement statement)
The
Connection adds new statements with
this method. |
| Modifier and Type | Class and Description |
|---|---|
class |
MockCallableStatement
Mock implementation of
CallableStatement. |
Copyright © 2003–2023. All rights reserved.