org.jboss.jca.adapters.jdbc.jdk7
Class WrappedCallableStatementJDK7

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.WrappedPreparedStatement
              extended by org.jboss.jca.adapters.jdbc.WrappedCallableStatement
                  extended by org.jboss.jca.adapters.jdbc.jdk7.WrappedCallableStatementJDK7
All Implemented Interfaces:
Serializable, CallableStatement, PreparedStatement, Statement, Wrapper, StatementAccess

public class WrappedCallableStatementJDK7
extends WrappedCallableStatement

WrappedCallableStatementJDK7.

Author:
Jesper Pedersen
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.jboss.jca.adapters.jdbc.WrappedStatement
defaultFetchSize, 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
WrappedCallableStatementJDK7(WrappedConnectionJDK7 lc, CallableStatement s, boolean spy, String jndiName)
          Constructor
 
Method Summary
 void closeOnCompletion()
          
<T> T
getObject(int parameterIndex, Class<T> type)
          
<T> T
getObject(String parameterName, Class<T> type)
          
 boolean isCloseOnCompletion()
          
protected  WrappedResultSet wrapResultSet(ResultSet resultSet, boolean spy, String jndiName)
          Wrap result set
 
Methods inherited from class org.jboss.jca.adapters.jdbc.WrappedCallableStatement
getArray, getArray, getBigDecimal, getBigDecimal, getBigDecimal, getBlob, getBlob, getBoolean, getBoolean, getByte, getByte, getBytes, getBytes, getCharacterStream, getCharacterStream, getClob, getClob, getDate, getDate, getDate, getDate, getDouble, getDouble, getFloat, getFloat, getInt, getInt, getLong, getLong, getNCharacterStream, getNCharacterStream, getNClob, getNClob, getNString, getNString, getObject, getObject, getObject, getObject, getRef, getRef, getRowId, getRowId, getShort, getShort, getSQLXML, getSQLXML, getString, getString, getTime, getTime, getTime, getTime, getTimestamp, getTimestamp, getTimestamp, getTimestamp, getUnderlyingStatement, getURL, getURL, getWrappedObject, isClosed, isPoolable, registerOutParameter, registerOutParameter, registerOutParameter, registerOutParameter, registerOutParameter, registerOutParameter, setAsciiStream, setAsciiStream, setAsciiStream, setAsciiStream, setAsciiStream, setBigDecimal, setBinaryStream, setBinaryStream, setBinaryStream, setBinaryStream, setBinaryStream, setBlob, setBlob, setBlob, setBlob, setBlob, setBoolean, setByte, setBytes, setCharacterStream, setCharacterStream, setCharacterStream, setCharacterStream, setCharacterStream, setClob, setClob, setClob, setClob, setClob, setDate, setDate, setDouble, setFloat, setInt, setLong, setNCharacterStream, setNCharacterStream, setNCharacterStream, setNCharacterStream, setNClob, setNClob, setNClob, setNClob, setNClob, setNClob, setNString, setNString, setNull, setNull, setObject, setObject, setObject, setPoolable, setRowId, setRowId, setShort, setSQLXML, setSQLXML, setString, setTime, setTime, setTimestamp, setTimestamp, setURL, wasNull
 
Methods inherited from class org.jboss.jca.adapters.jdbc.WrappedPreparedStatement
addBatch, clearParameters, execute, executeQuery, executeUpdate, getMetaData, getParameterMetaData, 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, setUnicodeStream, setURL
 
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, getUpdateCount, getWarnings, internalClose, lock, registerResultSet, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setMaxFieldSize, setMaxRows, 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.PreparedStatement
addBatch, clearParameters, execute, executeQuery, executeUpdate, getMetaData, getParameterMetaData, 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, setUnicodeStream, setURL
 
Methods inherited from interface java.sql.Statement
addBatch, cancel, 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 inherited from interface java.sql.Wrapper
isWrapperFor, unwrap
 

Constructor Detail

WrappedCallableStatementJDK7

public WrappedCallableStatementJDK7(WrappedConnectionJDK7 lc,
                                    CallableStatement 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 result set

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

closeOnCompletion

public void closeOnCompletion()
                       throws SQLException

Throws:
SQLException

isCloseOnCompletion

public boolean isCloseOnCompletion()
                            throws SQLException

Throws:
SQLException

getObject

public <T> T getObject(int parameterIndex,
                       Class<T> type)
            throws SQLException

Throws:
SQLException

getObject

public <T> T getObject(String parameterName,
                       Class<T> type)
            throws SQLException

Throws:
SQLException


Copyright © 2012 JBoss, by Red Hat (http://www.jboss.org/ironjacamar)