Save This Page
Home » jboss-5.0.0.CR1-src » org.jboss.resource.adapter » jdbc » [javadoc | source]
org.jboss.resource.adapter.jdbc
abstract public class: WrappedStatement [javadoc | source]
java.lang.Object
   org.jboss.resource.adapter.jdbc.JBossWrapper
      org.jboss.resource.adapter.jdbc.WrappedStatement

All Implemented Interfaces:
    Statement, StatementAccess, WrappedStatement, Serializable

Direct Known Subclasses:
    WrappedStatementJDK5, WrappedCallableStatementJDK6, WrappedCallableStatement, WrappedPreparedStatementJDK6, WrappedStatementJDK6, WrappedCallableStatementJDK5, WrappedPreparedStatement, WrappedPreparedStatementJDK5

A wrapper for a statement.
Constructor:
 public WrappedStatement(WrappedConnection lc,
    Statement s) 
Method from org.jboss.resource.adapter.jdbc.WrappedStatement Summary:
addBatch,   cancel,   checkConfiguredQueryTimeout,   checkException,   checkState,   checkTransaction,   checkTransactionActive,   clearBatch,   clearWarnings,   close,   closeResultSets,   execute,   execute,   execute,   execute,   executeBatch,   executeQuery,   executeUpdate,   executeUpdate,   executeUpdate,   executeUpdate,   getConnection,   getFetchDirection,   getFetchSize,   getGeneratedKeys,   getMaxFieldSize,   getMaxRows,   getMoreResults,   getMoreResults,   getQueryTimeout,   getResultSet,   getResultSetConcurrency,   getResultSetHoldability,   getResultSetType,   getUnderlyingStatement,   getUpdateCount,   getWarnings,   getWrappedObject,   internalClose,   lock,   registerResultSet,   setCursorName,   setEscapeProcessing,   setFetchDirection,   setFetchSize,   setMaxFieldSize,   setMaxRows,   setQueryTimeout,   unlock,   unregisterResultSet,   wrapResultSet
Methods from org.jboss.resource.adapter.jdbc.JBossWrapper:
getWrappedObject,   isWrapperFor,   unwrap
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.jboss.resource.adapter.jdbc.WrappedStatement Detail:
 public  void addBatch(String sql) throws SQLException 
 public  void cancel() throws SQLException 
 protected  void checkConfiguredQueryTimeout() throws SQLException 
 protected SQLException checkException(Throwable t) throws SQLException 
  void checkState() throws SQLException 
 protected  void checkTransaction() throws SQLException 
 protected  void checkTransactionActive() throws SQLException 
 public  void clearBatch() throws SQLException 
 public  void clearWarnings() throws SQLException 
 public  void close() throws SQLException 
 protected  void closeResultSets() 
 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 Statement getUnderlyingStatement() throws SQLException 
 public int getUpdateCount() throws SQLException 
 public SQLWarning getWarnings() throws SQLException 
 protected Statement getWrappedObject() throws SQLException 
 protected  void internalClose() throws SQLException 
 protected  void lock() throws SQLException 
 protected ResultSet registerResultSet(ResultSet resultSet) 
 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 timeout) throws SQLException 
 protected  void unlock() 
 protected  void unregisterResultSet(WrappedResultSet resultSet) 
 abstract protected WrappedResultSet wrapResultSet(ResultSet resultSet)