Save This Page
Home » commons-dbcp-1.2.2-src » org.apache.commons » dbcp » [javadoc | source]
org.apache.commons.dbcp
public class: TesterPreparedStatement [javadoc | source]
java.lang.Object
   org.apache.commons.dbcp.TesterStatement
      org.apache.commons.dbcp.TesterPreparedStatement

All Implemented Interfaces:
    PreparedStatement, Statement

A dummy PreparedStatement , for testing purposes.
Fields inherited from org.apache.commons.dbcp.TesterStatement:
_connection,  _open,  _rowsUpdated,  _executeResponse,  _maxFieldSize,  _maxRows,  _escapeProcessing,  _queryTimeout,  _cursorName,  _fetchDirection,  _fetchSize,  _resultSetConcurrency,  _resultSetType,  _resultSet
Constructor:
 public TesterPreparedStatement(Connection conn) 
 public TesterPreparedStatement(Connection conn,
    String sql) 
 public TesterPreparedStatement(Connection conn,
    String sql,
    int resultSetType,
    int resultSetConcurrency) 
Method from org.apache.commons.dbcp.TesterPreparedStatement Summary:
addBatch,   clearParameters,   execute,   execute,   execute,   execute,   executeQuery,   executeQuery,   executeUpdate,   executeUpdate,   executeUpdate,   executeUpdate,   executeUpdate,   getCatalog,   getGeneratedKeys,   getMetaData,   getMoreResults,   getParameterMetaData,   getResultSetHoldability,   setArray,   setAsciiStream,   setBigDecimal,   setBinaryStream,   setBlob,   setBoolean,   setByte,   setBytes,   setCharacterStream,   setClob,   setDate,   setDate,   setDouble,   setFloat,   setInt,   setLong,   setNull,   setNull,   setObject,   setObject,   setObject,   setRef,   setShort,   setString,   setTime,   setTime,   setTimestamp,   setTimestamp,   setURL,   setUnicodeStream
Methods from org.apache.commons.dbcp.TesterStatement:
addBatch,   cancel,   checkOpen,   clearBatch,   clearWarnings,   close,   execute,   execute,   execute,   execute,   executeBatch,   executeQuery,   executeUpdate,   executeUpdate,   executeUpdate,   executeUpdate,   getConnection,   getFetchDirection,   getFetchSize,   getGeneratedKeys,   getMaxFieldSize,   getMaxRows,   getMoreResults,   getMoreResults,   getQueryTimeout,   getResultSet,   getResultSetConcurrency,   getResultSetHoldability,   getResultSetType,   getUpdateCount,   getWarnings,   setCursorName,   setEscapeProcessing,   setFetchDirection,   setFetchSize,   setMaxFieldSize,   setMaxRows,   setQueryTimeout
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.commons.dbcp.TesterPreparedStatement Detail:
 public  void addBatch() throws SQLException 
 public  void clearParameters() throws SQLException 
 public boolean execute() throws SQLException 
 public boolean execute(String sql,
    int autoGeneratedKeys) throws SQLException 
 public boolean execute(String sl,
    int[] columnIndexes) throws SQLException 
 public boolean execute(String sql,
    String[] columnNames) throws SQLException 
 public ResultSet executeQuery() throws SQLException 
 public ResultSet executeQuery(String sql) throws SQLException 
 public int executeUpdate() throws SQLException 
 public int executeUpdate(String sql) throws SQLException 
 public int executeUpdate(String sql,
    int autoGeneratedKeys) throws SQLException 
 public int executeUpdate(String sql,
    int[] columnIndexes) throws SQLException 
 public int executeUpdate(String sql,
    String[] columnNames) throws SQLException 
 public String getCatalog() 
    for junit test only
 public ResultSet getGeneratedKeys() throws SQLException 
 public ResultSetMetaData getMetaData() throws SQLException 
 public boolean getMoreResults(int current) throws SQLException 
 public ParameterMetaData getParameterMetaData() throws SQLException 
 public int getResultSetHoldability() throws SQLException 
 public  void setArray(int i,
    Array x) throws SQLException 
 public  void setAsciiStream(int parameterIndex,
    InputStream x,
    int length) throws SQLException 
 public  void setBigDecimal(int parameterIndex,
    BigDecimal x) throws SQLException 
 public  void setBinaryStream(int parameterIndex,
    InputStream x,
    int length) throws SQLException 
 public  void setBlob(int i,
    Blob x) throws SQLException 
 public  void setBoolean(int parameterIndex,
    boolean x) throws SQLException 
 public  void setByte(int parameterIndex,
    byte x) throws SQLException 
 public  void setBytes(int parameterIndex,
    byte[] x) throws SQLException 
 public  void setCharacterStream(int parameterIndex,
    Reader reader,
    int length) throws SQLException 
 public  void setClob(int i,
    Clob x) throws SQLException 
 public  void setDate(int parameterIndex,
    Date x) throws SQLException 
 public  void setDate(int parameterIndex,
    Date x,
    Calendar cal) throws SQLException 
 public  void setDouble(int parameterIndex,
    double x) throws SQLException 
 public  void setFloat(int parameterIndex,
    float x) throws SQLException 
 public  void setInt(int parameterIndex,
    int x) throws SQLException 
 public  void setLong(int parameterIndex,
    long x) throws SQLException 
 public  void setNull(int parameterIndex,
    int sqlType) throws SQLException 
 public  void setNull(int paramIndex,
    int sqlType,
    String typeName) throws SQLException 
 public  void setObject(int parameterIndex,
    Object x) throws SQLException 
 public  void setObject(int parameterIndex,
    Object x,
    int targetSqlType) throws SQLException 
 public  void setObject(int parameterIndex,
    Object x,
    int targetSqlType,
    int scale) throws SQLException 
 public  void setRef(int i,
    Ref x) throws SQLException 
 public  void setShort(int parameterIndex,
    short x) throws SQLException 
 public  void setString(int parameterIndex,
    String x) throws SQLException 
 public  void setTime(int parameterIndex,
    Time x) throws SQLException 
 public  void setTime(int parameterIndex,
    Time x,
    Calendar cal) throws SQLException 
 public  void setTimestamp(int parameterIndex,
    Timestamp x) throws SQLException 
 public  void setTimestamp(int parameterIndex,
    Timestamp x,
    Calendar cal) throws SQLException 
 public  void setURL(int parameterIndex,
    URL x) throws SQLException 
 public  void setUnicodeStream(int parameterIndex,
    InputStream x,
    int length) throws SQLException 
Deprecated!