| java.lang.Object com.mockrunner.mock.jdbc.MockConnection
MockConnection | public class MockConnection implements Connection(Code) | | Mock implementation of Connection .
|
Method Summary | |
public void | clearWarnings() | public void | close() | public void | commit() | public Array | createArrayOf(String typeName, Object[] elements) | public Blob | createBlob() | public Clob | createClob() | public Statement | createStatement() | public Statement | createStatement(int resultSetType, int resultSetConcurrency) | public Statement | createStatement(int resultSetType, int resultSetConcurrency, int resultSetHoldability) | public Struct | createStruct(String typeName, Object[] attributes) | public boolean | getAutoCommit() | public CallableStatementResultSetHandler | getCallableStatementResultSetHandler() | public String | getCatalog() | public Properties | getClientInfo() | public String | getClientInfo(String name) | public int | getHoldability() | public DatabaseMetaData | getMetaData() | public int | getNumberCommits() | public int | getNumberRollbacks() | public PreparedStatementResultSetHandler | getPreparedStatementResultSetHandler() | public Map | getSavepointMap() | public StatementResultSetHandler | getStatementResultSetHandler() | public int | getTransactionIsolation() | public Map | getTypeMap() | public SQLWarning | getWarnings() | public boolean | isClosed() | public boolean | isReadOnly() | public boolean | isValid(int timeout) | public boolean | isWrapperFor(Class iface) | public String | nativeSQL(String sql) | public CallableStatement | prepareCall(String sql) | public CallableStatement | prepareCall(String sql, int resultSetType, int resultSetConcurrency) | public CallableStatement | prepareCall(String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability) | public PreparedStatement | prepareStatement(String sql) | public PreparedStatement | prepareStatement(String sql, int resultSetType, int resultSetConcurrency) | public PreparedStatement | prepareStatement(String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability) | public PreparedStatement | prepareStatement(String sql, int autoGeneratedKeys) | public PreparedStatement | prepareStatement(String sql, int[] columnIndexes) | public PreparedStatement | prepareStatement(String sql, String[] columnNames) | public void | releaseSavepoint(Savepoint savepoint) | public void | resetNumberCommits() | public void | resetNumberRollbacks() | public void | resetSavepointMap() | public void | rollback() | public void | rollback(Savepoint savepoint) | public void | setAutoCommit(boolean autoCommit) | public void | setCatalog(String catalog) | public void | setClientInfo(Properties properties) | public void | setClientInfo(String name, String value) | public void | setHoldability(int holdability) | public void | setMetaData(DatabaseMetaData metaData) | public void | setReadOnly(boolean readOnly) | public Savepoint | setSavepoint() | public Savepoint | setSavepoint(String name) | public void | setTransactionIsolation(int level) | public void | setTypeMap(Map typeMap) | public Object | unwrap(Class iface) |
MockConnection | public MockConnection()(Code) | | |
createStatement | public Statement createStatement(int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws SQLException(Code) | | |
getNumberCommits | public int getNumberCommits()(Code) | | |
getNumberRollbacks | public int getNumberRollbacks()(Code) | | |
getSavepointMap | public Map getSavepointMap()(Code) | | |
resetNumberCommits | public void resetNumberCommits()(Code) | | |
resetNumberRollbacks | public void resetNumberRollbacks()(Code) | | |
resetSavepointMap | public void resetSavepointMap()(Code) | | |
setTransactionIsolation | public void setTransactionIsolation(int level) throws SQLException(Code) | | |
|
|