org.jboss.jca.adapters.jdbc.jdk6
Class WrappedStatementJDK6

java.lang.Object
  extended by org.jboss.jca.adapters.jdbc.JBossWrapper
      extended by org.jboss.jca.adapters.jdbc.WrappedStatement
          extended by org.jboss.jca.adapters.jdbc.jdk6.WrappedStatementJDK6
All Implemented Interfaces:
Serializable, Statement, Wrapper, StatementAccess

public class WrappedStatementJDK6
extends WrappedStatement

WrappedStatementJDK6.

Version:
$Revision: 85945 $
Author:
Adrian Brock, Jesper Pedersen
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.jboss.jca.adapters.jdbc.WrappedStatement
jndiName, spy, spyLogger
 
Fields inherited from interface java.sql.Statement
CLOSE_ALL_RESULTS, CLOSE_CURRENT_RESULT, EXECUTE_FAILED, KEEP_CURRENT_RESULT, NO_GENERATED_KEYS, RETURN_GENERATED_KEYS, SUCCESS_NO_INFO
 
Constructor Summary
WrappedStatementJDK6(WrappedConnectionJDK6 lc, Statement s, boolean spy, String jndiName)
          Constructor
 
Method Summary
protected  WrappedResultSet wrapResultSet(ResultSet resultSet, boolean spy, String jndiName)
          Wrap ResultSet
 
Methods inherited from class org.jboss.jca.adapters.jdbc.WrappedStatement
addBatch, cancel, checkConfiguredQueryTimeout, checkException, 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, isClosed, isPoolable, lock, registerResultSet, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setMaxFieldSize, setMaxRows, setPoolable, setQueryTimeout, unlock, unregisterResultSet
 
Methods inherited from class org.jboss.jca.adapters.jdbc.JBossWrapper
isWrapperFor, unwrap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.sql.Wrapper
isWrapperFor, unwrap
 

Constructor Detail

WrappedStatementJDK6

public WrappedStatementJDK6(WrappedConnectionJDK6 lc,
                            Statement s,
                            boolean spy,
                            String jndiName)
Constructor

Parameters:
lc - The connection
s - The statement
spy - The spy value
jndiName - The jndi name
Method Detail

wrapResultSet

protected WrappedResultSet wrapResultSet(ResultSet resultSet,
                                         boolean spy,
                                         String jndiName)
Wrap ResultSet

Specified by:
wrapResultSet in class WrappedStatement
Parameters:
resultSet - The ResultSet
spy - The spy value
jndiName - The jndi name
Returns:
The result


Copyright © 2008 Red Hat Middleware LLC (http://www.jboss.com/)