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

java.lang.Object
  extended by org.jboss.jca.adapters.jdbc.JBossWrapper
      extended by org.jboss.jca.adapters.jdbc.CachedPreparedStatement
          extended by org.jboss.jca.adapters.jdbc.jdk7.CachedPreparedStatementJDK7
All Implemented Interfaces:
Serializable, PreparedStatement, Statement, Wrapper

public class CachedPreparedStatementJDK7
extends CachedPreparedStatement

CachedPreparedStatementJDK7.

Author:
Jesper Pedersen
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.jboss.jca.adapters.jdbc.CachedPreparedStatement
log, trace
 
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
CachedPreparedStatementJDK7(PreparedStatement ps)
          Constructor
 
Method Summary
 void closeOnCompletion()
          
 boolean isClosed()
          
 boolean isCloseOnCompletion()
          
 boolean isPoolable()
          
 void setAsciiStream(int parameterIndex, InputStream x)
          
 void setAsciiStream(int parameterIndex, InputStream x, long length)
          
 void setBinaryStream(int parameterIndex, InputStream x)
          
 void setBinaryStream(int parameterIndex, InputStream x, long length)
          
 void setBlob(int parameterIndex, InputStream inputStream)
          
 void setBlob(int parameterIndex, InputStream inputStream, long length)
          
 void setCharacterStream(int parameterIndex, Reader reader)
          
 void setCharacterStream(int parameterIndex, Reader reader, long length)
          
 void setClob(int parameterIndex, Reader reader)
          
 void setClob(int parameterIndex, Reader reader, long length)
          
 void setNCharacterStream(int parameterIndex, Reader value)
          
 void setNCharacterStream(int parameterIndex, Reader value, long length)
          
 void setNClob(int parameterIndex, NClob value)
          
 void setNClob(int parameterIndex, Reader reader)
          
 void setNClob(int parameterIndex, Reader reader, long length)
          
 void setNString(int parameterIndex, String value)
          
 void setPoolable(boolean poolable)
          
 void setRowId(int parameterIndex, RowId x)
          
 void setSQLXML(int parameterIndex, SQLXML xmlObject)
          
 
Methods inherited from class org.jboss.jca.adapters.jdbc.CachedPreparedStatement
addBatch, addBatch, agedOut, cancel, clearBatch, clearParameters, clearWarnings, close, execute, execute, execute, execute, execute, executeBatch, executeQuery, executeQuery, executeUpdate, executeUpdate, executeUpdate, executeUpdate, executeUpdate, getConnection, getFetchDirection, getFetchSize, getGeneratedKeys, getMaxFieldSize, getMaxRows, getMetaData, getMoreResults, getMoreResults, getParameterMetaData, getQueryTimeout, getResultSet, getResultSetConcurrency, getResultSetHoldability, getResultSetType, getUnderlyingPreparedStatement, getUpdateCount, getWarnings, getWrappedObject, inUse, isInUse, setArray, setAsciiStream, setBigDecimal, setBinaryStream, setBlob, setBoolean, setByte, setBytes, setCharacterStream, setClob, setCursorName, setDate, setDate, setDouble, setEscapeProcessing, setFetchDirection, setFetchSize, setFloat, setInt, setLong, setMaxFieldSize, setMaxRows, setNull, setNull, setObject, setObject, setObject, setQueryTimeout, setRef, setShort, setString, setTime, setTime, setTimestamp, setTimestamp, setUnicodeStream, setURL
 
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

CachedPreparedStatementJDK7

public CachedPreparedStatementJDK7(PreparedStatement ps)
                            throws SQLException
Constructor

Parameters:
ps - The prepared statement
Throws:
SQLException - Thrown if an error occurs
Method Detail

setAsciiStream

public void setAsciiStream(int parameterIndex,
                           InputStream x,
                           long length)
                    throws SQLException

Throws:
SQLException

setAsciiStream

public void setAsciiStream(int parameterIndex,
                           InputStream x)
                    throws SQLException

Throws:
SQLException

setBinaryStream

public void setBinaryStream(int parameterIndex,
                            InputStream x,
                            long length)
                     throws SQLException

Throws:
SQLException

setBinaryStream

public void setBinaryStream(int parameterIndex,
                            InputStream x)
                     throws SQLException

Throws:
SQLException

setBlob

public void setBlob(int parameterIndex,
                    InputStream inputStream,
                    long length)
             throws SQLException

Throws:
SQLException

setBlob

public void setBlob(int parameterIndex,
                    InputStream inputStream)
             throws SQLException

Throws:
SQLException

setCharacterStream

public void setCharacterStream(int parameterIndex,
                               Reader reader,
                               long length)
                        throws SQLException

Throws:
SQLException

setCharacterStream

public void setCharacterStream(int parameterIndex,
                               Reader reader)
                        throws SQLException

Throws:
SQLException

setClob

public void setClob(int parameterIndex,
                    Reader reader,
                    long length)
             throws SQLException

Throws:
SQLException

setClob

public void setClob(int parameterIndex,
                    Reader reader)
             throws SQLException

Throws:
SQLException

setNCharacterStream

public void setNCharacterStream(int parameterIndex,
                                Reader value,
                                long length)
                         throws SQLException

Throws:
SQLException

setNCharacterStream

public void setNCharacterStream(int parameterIndex,
                                Reader value)
                         throws SQLException

Throws:
SQLException

setNClob

public void setNClob(int parameterIndex,
                     NClob value)
              throws SQLException

Throws:
SQLException

setNClob

public void setNClob(int parameterIndex,
                     Reader reader,
                     long length)
              throws SQLException

Throws:
SQLException

setNClob

public void setNClob(int parameterIndex,
                     Reader reader)
              throws SQLException

Throws:
SQLException

setNString

public void setNString(int parameterIndex,
                       String value)
                throws SQLException

Throws:
SQLException

setRowId

public void setRowId(int parameterIndex,
                     RowId x)
              throws SQLException

Throws:
SQLException

setSQLXML

public void setSQLXML(int parameterIndex,
                      SQLXML xmlObject)
               throws SQLException

Throws:
SQLException

isClosed

public boolean isClosed()
                 throws SQLException

Throws:
SQLException

isPoolable

public boolean isPoolable()
                   throws SQLException

Throws:
SQLException

setPoolable

public void setPoolable(boolean poolable)
                 throws SQLException

Throws:
SQLException

closeOnCompletion

public void closeOnCompletion()
                       throws SQLException

Throws:
SQLException

isCloseOnCompletion

public boolean isCloseOnCompletion()
                            throws SQLException

Throws:
SQLException


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