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: WrappedConnection [javadoc | source]
java.lang.Object
   org.jboss.resource.adapter.jdbc.JBossWrapper
      org.jboss.resource.adapter.jdbc.WrappedConnection

All Implemented Interfaces:
    Connection, Serializable

Direct Known Subclasses:
    WrappedConnectionJDK5, WrappedConnectionJDK6

A wrapper for a connection.
Constructor:
 public WrappedConnection(BaseWrapperManagedConnection mc) 
Method from org.jboss.resource.adapter.jdbc.WrappedConnection Summary:
checkConfiguredQueryTimeout,   checkException,   checkStatus,   checkTransaction,   checkTransactionActive,   clearWarnings,   close,   commit,   createStatement,   createStatement,   createStatement,   getAutoCommit,   getCatalog,   getDataSource,   getHoldability,   getLogger,   getMetaData,   getTrackStatements,   getTransactionIsolation,   getTypeMap,   getUnderlyingConnection,   getWarnings,   getWrappedObject,   isClosed,   isReadOnly,   lock,   nativeSQL,   prepareCall,   prepareCall,   prepareCall,   prepareStatement,   prepareStatement,   prepareStatement,   prepareStatement,   prepareStatement,   prepareStatement,   registerStatement,   releaseSavepoint,   rollback,   rollback,   setAutoCommit,   setCatalog,   setDataSource,   setHoldability,   setManagedConnection,   setReadOnly,   setSavepoint,   setSavepoint,   setTransactionIsolation,   setTypeMap,   unlock,   unregisterStatement,   wrapCallableStatement,   wrapPreparedStatement,   wrapStatement
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.WrappedConnection Detail:
  void checkConfiguredQueryTimeout(WrappedStatement ws) throws SQLException 
 protected SQLException checkException(Throwable t) throws SQLException 
    The base checkException method rethrows the supplied exception, informing the ManagedConnection of the error. Subclasses may override this to filter exceptions based on their severity.
 protected  void checkStatus() throws SQLException 
    The checkStatus method checks that the handle has not been closed and that it is associated with a managed connection.
 protected  void checkTransaction() throws SQLException 
  void checkTransactionActive() throws SQLException 
 public  void clearWarnings() throws SQLException 
 public  void close() throws SQLException 
 public  void commit() throws SQLException 
 public Statement createStatement() throws SQLException 
 public Statement createStatement(int resultSetType,
    int resultSetConcurrency) throws SQLException 
 public Statement createStatement(int resultSetType,
    int resultSetConcurrency,
    int resultSetHoldability) throws SQLException 
 public boolean getAutoCommit() throws SQLException 
 public String getCatalog() throws SQLException 
 public WrapperDataSource getDataSource() 
 public int getHoldability() throws SQLException 
 Logger getLogger() 
 public DatabaseMetaData getMetaData() throws SQLException 
 int getTrackStatements() 
 public int getTransactionIsolation() throws SQLException 
 public Map getTypeMap() throws SQLException 
 public Connection getUnderlyingConnection() throws SQLException 
 public SQLWarning getWarnings() throws SQLException 
 protected Connection getWrappedObject() throws SQLException 
 public boolean isClosed() throws SQLException 
 public boolean isReadOnly() throws SQLException 
 protected  void lock() throws SQLException 
 public String nativeSQL(String sql) throws SQLException 
 public CallableStatement prepareCall(String sql) throws SQLException 
 public CallableStatement prepareCall(String sql,
    int resultSetType,
    int resultSetConcurrency) throws SQLException 
 public CallableStatement prepareCall(String sql,
    int resultSetType,
    int resultSetConcurrency,
    int resultSetHoldability) throws SQLException 
 public PreparedStatement prepareStatement(String sql) throws SQLException 
 public PreparedStatement prepareStatement(String sql,
    int autoGeneratedKeys) throws SQLException 
 public PreparedStatement prepareStatement(String sql,
    int[] columnIndexes) throws SQLException 
 public PreparedStatement prepareStatement(String sql,
    String[] columnNames) throws SQLException 
 public PreparedStatement prepareStatement(String sql,
    int resultSetType,
    int resultSetConcurrency) throws SQLException 
 public PreparedStatement prepareStatement(String sql,
    int resultSetType,
    int resultSetConcurrency,
    int resultSetHoldability) throws SQLException 
  void registerStatement(WrappedStatement ws) 
 public  void releaseSavepoint(Savepoint savepoint) throws SQLException 
 public  void rollback() throws SQLException 
 public  void rollback(Savepoint savepoint) throws SQLException 
 public  void setAutoCommit(boolean autocommit) throws SQLException 
 public  void setCatalog(String catalog) throws SQLException 
 protected  void setDataSource(WrapperDataSource dataSource) 
 public  void setHoldability(int holdability) throws SQLException 
  void setManagedConnection(BaseWrapperManagedConnection mc) 
 public  void setReadOnly(boolean readOnly) throws SQLException 
 public Savepoint setSavepoint() throws SQLException 
 public Savepoint setSavepoint(String name) throws SQLException 
 public  void setTransactionIsolation(int isolationLevel) throws SQLException 
 public  void setTypeMap(Map typeMap) throws SQLException 
 protected  void unlock() 
  void unregisterStatement(WrappedStatement ws) 
 abstract protected WrappedCallableStatement wrapCallableStatement(CallableStatement statement)
 abstract protected WrappedPreparedStatement wrapPreparedStatement(PreparedStatement statement)
 abstract protected WrappedStatement wrapStatement(Statement statement)