| java.lang.Object com.mockrunner.mock.jdbc.MockStatement com.mockrunner.mock.jdbc.MockPreparedStatement
All known Subclasses: com.mockrunner.mock.jdbc.MockCallableStatement,
Constructor Summary | |
public | MockPreparedStatement(Connection connection, String sql) | public | MockPreparedStatement(Connection connection, String sql, boolean returnGeneratedKeys) | public | MockPreparedStatement(Connection connection, String sql, int resultSetType, int resultSetConcurrency) | public | MockPreparedStatement(Connection connection, String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability) |
Method Summary | |
public void | addBatch() | public void | clearParameters() | public boolean | execute() | public int[] | executeBatch() | protected int[] | executeBatch(List batchParams) | public ResultSet | executeQuery() | protected ResultSet | executeQuery(Map params) | public int | executeUpdate() | protected int | executeUpdate(Map params) | public Map | getIndexedParameterMap() | public ResultSetMetaData | getMetaData() | public Object | getParameter(int index) | public Map | getParameterMap() | public ParameterMetaData | getParameterMetaData() | public String | getSQL() | public void | setArray(int parameterIndex, Array array) | public void | setAsciiStream(int parameterIndex, InputStream stream) | public void | setAsciiStream(int parameterIndex, InputStream stream, int length) | public void | setAsciiStream(int parameterIndex, InputStream stream, long length) | public void | setBigDecimal(int parameterIndex, BigDecimal bigDecimal) | public void | setBinaryStream(int parameterIndex, InputStream stream) | public void | setBinaryStream(int parameterIndex, InputStream stream, int length) | public void | setBinaryStream(int parameterIndex, InputStream stream, long length) | public void | setBlob(int parameterIndex, Blob blob) | public void | setBlob(int parameterIndex, InputStream inputStream) | public void | setBlob(int parameterIndex, InputStream inputStream, long length) | public void | setBoolean(int parameterIndex, boolean bool) | public void | setByte(int parameterIndex, byte byteValue) | public void | setBytes(int parameterIndex, byte[] byteArray) | public void | setCharacterStream(int parameterIndex, Reader reader) | public void | setCharacterStream(int parameterIndex, Reader reader, int length) | public void | setCharacterStream(int parameterIndex, Reader reader, long length) | public void | setClob(int parameterIndex, Clob clob) | public void | setClob(int parameterIndex, Reader reader) | public void | setClob(int parameterIndex, Reader reader, long length) | public void | setDate(int parameterIndex, Date date, Calendar calendar) | public void | setDate(int parameterIndex, Date date) | public void | setDouble(int parameterIndex, double doubleValue) | public void | setFloat(int parameterIndex, float floatValue) | public void | setInt(int parameterIndex, int intValue) | public void | setLong(int parameterIndex, long longValue) | public void | setNCharacterStream(int parameterIndex, Reader reader) | public void | setNCharacterStream(int parameterIndex, Reader reader, long length) | public void | setNString(int parameterIndex, String string) | public void | setNull(int parameterIndex, int sqlType, String typeName) | public void | setNull(int parameterIndex, int sqlType) | public void | setObject(int index, Object object) | public void | setObject(int parameterIndex, Object object, int targetSqlType, int scale) | public void | setObject(int parameterIndex, Object object, int targetSqlType) | public void | setPreparedStatementResultSetHandler(AbstractParameterResultSetHandler resultSetHandler) | public void | setRef(int parameterIndex, Ref ref) | public void | setShort(int parameterIndex, short shortValue) | public void | setString(int parameterIndex, String string) | public void | setTime(int parameterIndex, Time time, Calendar calendar) | public void | setTime(int parameterIndex, Time time) | public void | setTimestamp(int parameterIndex, Timestamp timeStamp, Calendar cal) | public void | setTimestamp(int parameterIndex, Timestamp timeStamp) | public void | setURL(int parameterIndex, URL url) | public void | setUnicodeStream(int parameterIndex, InputStream stream, int length) |
MockPreparedStatement | public MockPreparedStatement(Connection connection, String sql, boolean returnGeneratedKeys)(Code) | | |
MockPreparedStatement | public MockPreparedStatement(Connection connection, String sql, int resultSetType, int resultSetConcurrency)(Code) | | |
MockPreparedStatement | public MockPreparedStatement(Connection connection, String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability)(Code) | | |
getIndexedParameterMap | public Map getIndexedParameterMap()(Code) | | |
getParameterMap | public Map getParameterMap()(Code) | | |
setBoolean | public void setBoolean(int parameterIndex, boolean bool) throws SQLException(Code) | | |
setBytes | public void setBytes(int parameterIndex, byte[] byteArray) throws SQLException(Code) | | |
setCharacterStream | public void setCharacterStream(int parameterIndex, Reader reader, int length) throws SQLException(Code) | | |
setCharacterStream | public void setCharacterStream(int parameterIndex, Reader reader, long length) throws SQLException(Code) | | |
setDouble | public void setDouble(int parameterIndex, double doubleValue) throws SQLException(Code) | | |
setFloat | public void setFloat(int parameterIndex, float floatValue) throws SQLException(Code) | | |
setNCharacterStream | public void setNCharacterStream(int parameterIndex, Reader reader, long length) throws SQLException(Code) | | |
setObject | public void setObject(int parameterIndex, Object object, int targetSqlType, int scale) throws SQLException(Code) | | |
setShort | public void setShort(int parameterIndex, short shortValue) throws SQLException(Code) | | |
|
|