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

All Implemented Interfaces:
    Statement

Direct Known Subclasses:
    TesterPreparedStatement

A dummy Statement , for testing purposes.
Field Summary
protected  Connection _connection     
protected  boolean _open     
protected  int _rowsUpdated     
protected  boolean _executeResponse     
protected  int _maxFieldSize     
protected  int _maxRows     
protected  boolean _escapeProcessing     
protected  int _queryTimeout     
protected  String _cursorName     
protected  int _fetchDirection     
protected  int _fetchSize     
protected  int _resultSetConcurrency     
protected  int _resultSetType     
protected  ResultSet _resultSet     
Constructor:
 public TesterStatement(Connection conn) 
 public TesterStatement(Connection conn,
    int resultSetType,
    int resultSetConcurrency) 
Method from org.apache.commons.dbcp.TesterStatement Summary:
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.TesterStatement Detail:
 public  void addBatch(String sql) throws SQLException 
 public  void cancel() throws SQLException 
 protected  void checkOpen() throws SQLException 
 public  void clearBatch() throws SQLException 
 public  void clearWarnings() throws SQLException 
 public  void close() throws SQLException 
 public boolean execute(String sql) throws SQLException 
 public boolean execute(String sql,
    int autoGeneratedKeys) throws SQLException 
 public boolean execute(String sql,
    int[] columnIndexes) throws SQLException 
 public boolean execute(String sql,
    String[] columnNames) throws SQLException 
 public int[] executeBatch() throws SQLException 
 public ResultSet executeQuery(String sql) 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 Connection getConnection() throws SQLException 
 public int getFetchDirection() throws SQLException 
 public int getFetchSize() throws SQLException 
 public ResultSet getGeneratedKeys() throws SQLException 
 public int getMaxFieldSize() throws SQLException 
 public int getMaxRows() throws SQLException 
 public boolean getMoreResults() throws SQLException 
 public boolean getMoreResults(int current) throws SQLException 
 public int getQueryTimeout() throws SQLException 
 public ResultSet getResultSet() throws SQLException 
 public int getResultSetConcurrency() throws SQLException 
 public int getResultSetHoldability() throws SQLException 
 public int getResultSetType() throws SQLException 
 public int getUpdateCount() throws SQLException 
 public SQLWarning getWarnings() throws SQLException 
 public  void setCursorName(String name) throws SQLException 
 public  void setEscapeProcessing(boolean enable) throws SQLException 
 public  void setFetchDirection(int direction) throws SQLException 
 public  void setFetchSize(int rows) throws SQLException 
 public  void setMaxFieldSize(int max) throws SQLException 
 public  void setMaxRows(int max) throws SQLException 
 public  void setQueryTimeout(int seconds) throws SQLException