org.apache.derby.client.am
Class CallableStatement

java.lang.Object
  extended by org.apache.derby.client.am.Statement
      extended by org.apache.derby.client.am.PreparedStatement
          extended by org.apache.derby.client.am.CallableStatement
All Implemented Interfaces:
java.sql.CallableStatement, java.sql.PreparedStatement, java.sql.Statement, java.sql.Wrapper, PreparedStatementCallbackInterface, StatementCallbackInterface, UnitOfWorkListener
Direct Known Subclasses:
CallableStatement40

public class CallableStatement
extends PreparedStatement
implements java.sql.PreparedStatement, java.sql.CallableStatement, PreparedStatementCallbackInterface


Field Summary
 MaterialPreparedStatement materialCallableStatement_
           
private static int WAS_NOT_NULL
           
private static int WAS_NULL
           
private static int WAS_NULL_UNSET
           
private  int wasNull_
           
 
Fields inherited from class org.apache.derby.client.am.PreparedStatement
listenToUnitOfWork_, materialPreparedStatement_, outputRegistered_, parameterMetaData_, parameterRegistered_, parameters_, parameterSet_, pooledConnection_, positionedUpdateCursorName_, sql_
 
Fields inherited from class org.apache.derby.client.am.Statement
agent_, autoGeneratedKeys_, batch_, cachedCursor_, cachedSingletonRowData_, CLOSE_ALL_RESULTS, CLOSE_CURRENT_RESULT, connection_, cursorAttributesToSendOnPrepare_, cursorName_, doWriteTimeout, executeMethod__, executeQueryMethod__, executeUpdateMethod__, fetchDirection_, fetchSize_, generatedKeysColumnIndexes_, generatedKeysColumnNames_, generatedKeysResultSet_, indexOfCurrentResultSet_, isAutoCommittableStatement_, isCall__, isCatalogQuery_, isCommitSql__, isDeleteSql__, isInsertSql__, isPoolable, isPositionedUpdateDeleteSql__, isPreparedStatement_, isQuery__, isRollbackSql__, isUpdate__, isUpdateSql__, KEEP_CURRENT_RESULT, materialStatement_, maxFieldSize_, maxRows_, numInvisibleRS_, openOnClient_, openOnServer_, preparedStatementForAutoGeneratedKeys_, resultSet_, resultSetConcurrency_, resultSetHoldability_, resultSetList_, resultSetMetaData_, resultSetType_, returnValueFromProcedure_, section_, singletonRowData_, sqlMode_, sqlUpdateMode_, timeout_, TIMEOUT_STATEMENT, timeoutArrayList, updateCount_
 
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
CallableStatement(Agent agent, Connection connection, java.lang.String sql, int type, int concurrency, int holdability, ClientPooledConnection cpc)
          Common constructor for jdbc 2 callable statements with scroll attributes.
 
Method Summary
private  void checkForValidOutParameter(int parameterIndex)
           
private  void checkGetterPreconditions(int parameterIndex)
           
 void clearParameters()
           
protected  void finalize()
           
 java.sql.Array getArray(int parameterIndex)
           
 java.sql.Array getArray(java.lang.String parameterName)
           
 java.math.BigDecimal getBigDecimal(int parameterIndex)
           
 java.math.BigDecimal getBigDecimal(int parameterIndex, int scale)
          Deprecated.  
 java.math.BigDecimal getBigDecimal(java.lang.String parameterName)
           
 java.sql.Blob getBlob(int parameterIndex)
           
 java.sql.Blob getBlob(java.lang.String parameterName)
           
 boolean getBoolean(int parameterIndex)
           
 boolean getBoolean(java.lang.String parameterName)
           
 byte getByte(int parameterIndex)
           
 byte getByte(java.lang.String parameterName)
           
 byte[] getBytes(int parameterIndex)
           
 byte[] getBytes(java.lang.String parameterName)
           
(package private)  byte[] getBytesX(int parameterIndex)
           
 java.io.Reader getCharacterStream(int parameterIndex)
           
 java.sql.Clob getClob(int parameterIndex)
           
 java.sql.Clob getClob(java.lang.String parameterName)
           
 java.sql.Date getDate(int parameterIndex)
           
 java.sql.Date getDate(int parameterIndex, java.util.Calendar cal)
           
 java.sql.Date getDate(java.lang.String parameterName)
           
 java.sql.Date getDate(java.lang.String parameterName, java.util.Calendar calendar)
           
 double getDouble(int parameterIndex)
           
 double getDouble(java.lang.String parameterName)
           
 float getFloat(int parameterIndex)
           
 float getFloat(java.lang.String parameterName)
           
 int getInt(int parameterIndex)
           
 int getInt(java.lang.String parameterName)
           
(package private)  int getIntX(int parameterIndex)
           
protected  java.lang.String getJdbcStatementInterfaceName()
          Returns the name of the java.sql interface implemented by this class.
 long getLong(int parameterIndex)
           
 long getLong(java.lang.String parameterName)
           
(package private)  long getLongX(int parameterIndex)
           
 java.lang.Object getObject(int parameterIndex)
           
 java.lang.Object getObject(int parameterIndex, java.util.Map map)
           
 java.lang.Object getObject(java.lang.String parameterName)
           
 java.lang.Object getObject(java.lang.String parameterName, java.util.Map map)
           
 java.sql.Ref getRef(int parameterIndex)
           
 java.sql.Ref getRef(java.lang.String parameterName)
           
 short getShort(int parameterIndex)
           
 short getShort(java.lang.String parameterName)
           
 java.lang.String getString(int parameterIndex)
           
 java.lang.String getString(java.lang.String parameterName)
           
(package private)  java.lang.String getStringX(int parameterIndex)
           
 java.sql.Time getTime(int parameterIndex)
           
 java.sql.Time getTime(int parameterIndex, java.util.Calendar cal)
           
 java.sql.Time getTime(java.lang.String parameterName)
           
 java.sql.Time getTime(java.lang.String parameterName, java.util.Calendar calendar)
           
 java.sql.Timestamp getTimestamp(int parameterIndex)
           
 java.sql.Timestamp getTimestamp(int parameterIndex, java.util.Calendar cal)
           
 java.sql.Timestamp getTimestamp(java.lang.String parameterName)
           
 java.sql.Timestamp getTimestamp(java.lang.String parameterName, java.util.Calendar calendar)
           
 java.net.URL getURL(int parameterIndex)
           
 java.net.URL getURL(java.lang.String parameterName)
           
private  int guessScaleForDecimalOrNumeric(int parameterIndex)
           
private  void initCallableStatement()
           
private  java.sql.SQLException jdbcMethodNotImplemented()
           
 void registerOutParameter(int parameterIndex, int jdbcType)
           
 void registerOutParameter(int parameterIndex, int jdbcType, int scale)
           
 void registerOutParameter(int parameterIndex, int jdbcType, java.lang.String typeName)
           
 void registerOutParameter(java.lang.String parameterName, int sqlType)
           
 void registerOutParameter(java.lang.String parameterName, int sqlType, int scale)
           
 void registerOutParameter(java.lang.String parameterName, int sqlType, java.lang.String typeName)
           
(package private)  void registerOutParameterX(int parameterIndex, int jdbcType)
           
private  void registerOutParameterX(int parameterIndex, int jdbcType, int scale)
           
 void reset(boolean fullReset)
           
 void resetCallableStatement(Agent agent, Connection connection, java.lang.String sql, int type, int concurrency, int holdability)
           
 void resetCallableStatement(Agent agent, Connection connection, java.lang.String sql, Section section)
           
 void resetCallableStatement(Agent agent, Connection connection, java.lang.String sql, Section section, ColumnMetaData parameterMetaData, ColumnMetaData resultSetMetaData)
           
 void setAsciiStream(java.lang.String parameterName, java.io.InputStream x, int length)
           
 void setBigDecimal(java.lang.String parameterName, java.math.BigDecimal x)
           
 void setBinaryStream(java.lang.String parameterName, java.io.InputStream x, int length)
           
 void setBoolean(java.lang.String parameterName, boolean x)
           
 void setByte(java.lang.String parameterName, byte x)
           
 void setBytes(java.lang.String parameterName, byte[] x)
           
 void setCharacterStream(java.lang.String parameterName, java.io.Reader reader, int length)
           
 void setDate(java.lang.String parameterName, java.sql.Date x)
           
 void setDate(java.lang.String parameterName, java.sql.Date x, java.util.Calendar calendar)
           
 void setDouble(java.lang.String parameterName, double x)
           
 void setFloat(java.lang.String parameterName, float x)
           
 void setInt(java.lang.String parameterName, int x)
           
 void setLong(java.lang.String parameterName, long x)
           
 void setNull(java.lang.String parameterName, int sqlType)
           
 void setNull(java.lang.String parameterName, int sqlType, java.lang.String typeName)
           
 void setObject(java.lang.String parameterName, java.lang.Object x)
           
 void setObject(java.lang.String parameterName, java.lang.Object x, int targetSqlType)
           
 void setObject(java.lang.String parameterName, java.lang.Object x, int targetSqlType, int scale)
           
 void setShort(java.lang.String parameterName, short x)
           
 void setString(java.lang.String parameterName, java.lang.String x)
           
 void setTime(java.lang.String parameterName, java.sql.Time x)
           
 void setTime(java.lang.String parameterName, java.sql.Time x, java.util.Calendar calendar)
           
 void setTimestamp(java.lang.String parameterName, java.sql.Timestamp x)
           
 void setTimestamp(java.lang.String parameterName, java.sql.Timestamp x, java.util.Calendar calendar)
           
 void setURL(java.lang.String parameterName, java.net.URL x)
           
private  void setWasNull(int parameterIndex)
           
 boolean wasNull()
           
private  boolean wasNullX()
           
 
Methods inherited from class org.apache.derby.client.am.PreparedStatement
addBatch, checkForValidParameterIndex, checkForValidScale, checkScaleForINOUTDecimal, completeDescribeInput, completeDescribeOutput, completeLocalCommit, completeLocalRollback, completePrepareDescribe, execute, execute, execute, execute, execute, executeBatch, executeBatchX, executeQuery, executeQuery, executeQueryX, executeUpdate, executeUpdate, executeUpdate, executeUpdate, executeUpdate, executeX, flowPrepareDescribeInputOutput, getMetaData, getParameterMetaData, initResetPreparedStatement, listenToUnitOfWork, markClosed, prepare, readDescribeInput, readDescribeOutput, readExecute, readPrepareDescribeInput, readPrepareDescribeInputOutput, resetForReuse, resetPreparedStatement, resetPreparedStatement, resetPreparedStatement, setArray, setAsciiStream, setAsciiStream, setAsciiStream, setBigDecimal, setBinaryStream, setBinaryStream, setBinaryStream, setBinaryStreamX, setBlob, setBlob, setBlob, setBlobX, setBoolean, setByte, setBytes, setBytesX, setCharacterStream, setCharacterStream, setCharacterStream, setClob, setClob, setClob, setClobX, setDate, setDate, setDouble, setFloat, setInput, setInt, setIntX, setLong, setLongX, setNull, setNull, setNullX, setObject, setObject, setObject, setRef, setShort, setShortX, setString, setStringX, setTime, setTime, setTimestamp, setTimestamp, setUnicodeStream, setURL, writeDescribeInput, writeDescribeOutput, writeExecute, writePrepareDescribeInput, writePrepareDescribeInputOutput, writePrepareDescribeInputOutput
 
Methods inherited from class org.apache.derby.client.am.Statement
accumulateWarning, addBatch, cacheCursorAttributesToSendOnPrepare, cancel, checkAutoGeneratedKeysParameters, checkForAppropriateSqlMode, checkForClosedStatement, checkForDuplicateCursorName, checkForInvalidBatchedSql, checkForStoredProcResultSetCount, clearBatch, clearWarnings, clearWarningsX, close, closeX, completeExecute, completeExecuteCall, completeExecuteCall, completeExecuteCallOpenQuery, completeExecuteImmediate, completeExecuteSetStatement, completeOpenQuery, completePrepare, completePrepareDescribeOutput, completeSqlca, escape, executeX, extractCursorNameFromWhereCurrentOf, flowExecuteBatch, getConnection, getConnectionCallbackInterface, getFetchDirection, getFetchSize, getGeneratedKeys, getGuessedResultSetMetaData, getMaxFieldSize, getMaxRows, getMoreResults, getMoreResults, getOwner, getPreparedStatementForAutoGeneratedKeys, getProcedureName, getQueryTimeout, getResultSet, getResultSetConcurrency, getResultSetHoldability, getResultSetType, getSqlWarnings, getUpdateCount, getWarnings, isClosed, isPoolable, isQueryMode, isWrapperFor, jdbc3FeatureNotSupported, jdbc3FeatureNotSupported, mapCursorNameToResultSet, markAutoCommitted, markClosed, markClosedOnServer, markPreparedStatementForAutoGeneratedKeysClosed, markResultSetsClosed, markResultSetsClosed, parseSqlAndSetSqlModes, parseStorProcReturnedScrollableRowset, prepareAutoGeneratedKeysStatement, readClose, readCloseResultSets, readCloseResultSets, readExecuteCall, readExecuteImmediate, readExecuteImmediateForBatch, readOpenQuery, readPrepare, readPrepareAutoGeneratedKeysStatement, readPrepareDescribeOutput, readSetSpecialRegister, removeClientCursorNameFromCache, resetCursorNameAndRemoveFromWhereCurrentOfMappings, resetStatement, resetStatement, resultSetCommitting, resultSetCommitting, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setMaxFieldSize, setMaxRows, setOwner, setPoolable, setQueryTimeout, setupCursorNameCacheAndMappings, setUpdateCount, substituteClientCursorNameWithServerCursorName, upperCaseProcedureName, writeClose, writeCloseResultSets, writeCloseResultSets, writeExecuteCall, writeExecuteImmediate, writeOpenQuery, writePrepare, writePrepareDescribeOutput, writeSetSpecialRegister
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.sql.CallableStatement
getCharacterStream, getNCharacterStream, getNCharacterStream, getNClob, getNClob, getNString, getNString, getRowId, getRowId, getSQLXML, getSQLXML, setAsciiStream, setAsciiStream, setBinaryStream, setBinaryStream, setBlob, setBlob, setBlob, setCharacterStream, setCharacterStream, setClob, setClob, setClob, setNCharacterStream, setNCharacterStream, setNClob, setNClob, setNClob, setNString, setRowId, setSQLXML
 
Methods inherited from interface java.sql.PreparedStatement
addBatch, execute, executeQuery, executeUpdate, getMetaData, getParameterMetaData, setArray, setAsciiStream, setAsciiStream, setAsciiStream, setBigDecimal, setBinaryStream, setBinaryStream, setBinaryStream, setBlob, setBlob, setBlob, setBoolean, setByte, setBytes, setCharacterStream, setCharacterStream, setCharacterStream, setClob, setClob, setClob, setDate, setDate, setDouble, setFloat, setInt, setLong, setNCharacterStream, setNCharacterStream, setNClob, setNClob, setNClob, setNString, setNull, setNull, setObject, setObject, setObject, setRef, setRowId, setShort, setSQLXML, 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, isClosed, isPoolable, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setMaxFieldSize, setMaxRows, setPoolable, setQueryTimeout
 
Methods inherited from interface java.sql.Wrapper
isWrapperFor, unwrap
 
Methods inherited from interface org.apache.derby.client.am.PreparedStatementCallbackInterface
completeDescribeInput, completeDescribeOutput
 
Methods inherited from interface org.apache.derby.client.am.StatementCallbackInterface
accumulateWarning, completeExecute, completeExecuteCall, completeExecuteCall, completeExecuteCallOpenQuery, completeExecuteImmediate, completeExecuteSetStatement, completeOpenQuery, completePrepare, completePrepareDescribeOutput, completeSqlca, getConnectionCallbackInterface, getGuessedResultSetMetaData
 
Methods inherited from interface org.apache.derby.client.am.UnitOfWorkListener
completeLocalCommit, completeLocalRollback, listenToUnitOfWork
 

Field Detail

materialCallableStatement_

public MaterialPreparedStatement materialCallableStatement_

wasNull_

private int wasNull_

WAS_NULL

private static final int WAS_NULL
See Also:
Constant Field Values

WAS_NOT_NULL

private static final int WAS_NOT_NULL
See Also:
Constant Field Values

WAS_NULL_UNSET

private static final int WAS_NULL_UNSET
See Also:
Constant Field Values
Constructor Detail

CallableStatement

public CallableStatement(Agent agent,
                         Connection connection,
                         java.lang.String sql,
                         int type,
                         int concurrency,
                         int holdability,
                         ClientPooledConnection cpc)
                  throws SqlException
Common constructor for jdbc 2 callable statements with scroll attributes. Called by material statement constructor.

Parameters:
agent - The instance of NetAgent associated with this CallableStatement object.
connection - The connection object associated with this PreparedStatement Object.
sql - A String object that is the SQL statement to be sent to the database.
type - One of the ResultSet type constants
concurrency - One of the ResultSet concurrency constants
holdability - One of the ResultSet holdability constants
cpc - The PooledConnection object that will be used to notify the PooledConnection reference of the Error Occurred and the Close events.
Throws:
SqlException
Method Detail

initCallableStatement

private void initCallableStatement()

reset

public void reset(boolean fullReset)
           throws SqlException
Overrides:
reset in class PreparedStatement
Throws:
SqlException

resetCallableStatement

public void resetCallableStatement(Agent agent,
                                   Connection connection,
                                   java.lang.String sql,
                                   int type,
                                   int concurrency,
                                   int holdability)
                            throws SqlException
Throws:
SqlException

resetCallableStatement

public void resetCallableStatement(Agent agent,
                                   Connection connection,
                                   java.lang.String sql,
                                   Section section)
                            throws SqlException
Throws:
SqlException

resetCallableStatement

public void resetCallableStatement(Agent agent,
                                   Connection connection,
                                   java.lang.String sql,
                                   Section section,
                                   ColumnMetaData parameterMetaData,
                                   ColumnMetaData resultSetMetaData)
                            throws SqlException
Throws:
SqlException

finalize

protected void finalize()
                 throws java.lang.Throwable
Overrides:
finalize in class Statement
Throws:
java.lang.Throwable

clearParameters

public void clearParameters()
                     throws java.sql.SQLException
Specified by:
clearParameters in interface java.sql.PreparedStatement
Overrides:
clearParameters in class PreparedStatement
Throws:
java.sql.SQLException

registerOutParameter

public void registerOutParameter(int parameterIndex,
                                 int jdbcType)
                          throws java.sql.SQLException
Specified by:
registerOutParameter in interface java.sql.CallableStatement
Throws:
java.sql.SQLException

registerOutParameterX

void registerOutParameterX(int parameterIndex,
                           int jdbcType)
                     throws SqlException
Throws:
SqlException

guessScaleForDecimalOrNumeric

private int guessScaleForDecimalOrNumeric(int parameterIndex)
                                   throws SqlException
Throws:
SqlException

registerOutParameter

public void registerOutParameter(int parameterIndex,
                                 int jdbcType,
                                 int scale)
                          throws java.sql.SQLException
Specified by:
registerOutParameter in interface java.sql.CallableStatement
Throws:
java.sql.SQLException

registerOutParameterX

private void registerOutParameterX(int parameterIndex,
                                   int jdbcType,
                                   int scale)
                            throws SqlException
Throws:
SqlException

registerOutParameter

public void registerOutParameter(int parameterIndex,
                                 int jdbcType,
                                 java.lang.String typeName)
                          throws java.sql.SQLException
Specified by:
registerOutParameter in interface java.sql.CallableStatement
Throws:
java.sql.SQLException

wasNull

public boolean wasNull()
                throws java.sql.SQLException
Specified by:
wasNull in interface java.sql.CallableStatement
Throws:
java.sql.SQLException

wasNullX

private boolean wasNullX()
                  throws SqlException
Throws:
SqlException

getBoolean

public boolean getBoolean(int parameterIndex)
                   throws java.sql.SQLException
Specified by:
getBoolean in interface java.sql.CallableStatement
Throws:
java.sql.SQLException

getByte

public byte getByte(int parameterIndex)
             throws java.sql.SQLException
Specified by:
getByte in interface java.sql.CallableStatement
Throws:
java.sql.SQLException

getShort

public short getShort(int parameterIndex)
               throws java.sql.SQLException
Specified by:
getShort in interface java.sql.CallableStatement
Throws:
java.sql.SQLException

getInt

public int getInt(int parameterIndex)
           throws java.sql.SQLException
Specified by:
getInt in interface java.sql.CallableStatement
Throws:
java.sql.SQLException

getIntX

int getIntX(int parameterIndex)
      throws SqlException
Throws:
SqlException

getLong

public long getLong(int parameterIndex)
             throws java.sql.SQLException
Specified by:
getLong in interface java.sql.CallableStatement
Throws:
java.sql.SQLException

getLongX

long getLongX(int parameterIndex)
        throws SqlException
Throws:
SqlException

getFloat

public float getFloat(int parameterIndex)
               throws java.sql.SQLException
Specified by:
getFloat in interface java.sql.CallableStatement
Throws:
java.sql.SQLException

getDouble

public double getDouble(int parameterIndex)
                 throws java.sql.SQLException
Specified by:
getDouble in interface java.sql.CallableStatement
Throws:
java.sql.SQLException

getBigDecimal

public java.math.BigDecimal getBigDecimal(int parameterIndex,
                                          int scale)
                                   throws java.sql.SQLException,
                                          java.lang.ArithmeticException
Deprecated. 

Specified by:
getBigDecimal in interface java.sql.CallableStatement
Throws:
java.sql.SQLException
java.lang.ArithmeticException

getBigDecimal

public java.math.BigDecimal getBigDecimal(int parameterIndex)
                                   throws java.sql.SQLException
Specified by:
getBigDecimal in interface java.sql.CallableStatement
Throws:
java.sql.SQLException

getDate

public java.sql.Date getDate(int parameterIndex)
                      throws java.sql.SQLException
Specified by:
getDate in interface java.sql.CallableStatement
Throws:
java.sql.SQLException

getDate

public java.sql.Date getDate(int parameterIndex,
                             java.util.Calendar cal)
                      throws java.sql.SQLException
Specified by:
getDate in interface java.sql.CallableStatement
Throws:
java.sql.SQLException

getTime

public java.sql.Time getTime(int parameterIndex)
                      throws java.sql.SQLException
Specified by:
getTime in interface java.sql.CallableStatement
Throws:
java.sql.SQLException

getTime

public java.sql.Time getTime(int parameterIndex,
                             java.util.Calendar cal)
                      throws java.sql.SQLException
Specified by:
getTime in interface java.sql.CallableStatement
Throws:
java.sql.SQLException

getTimestamp

public java.sql.Timestamp getTimestamp(int parameterIndex)
                                throws java.sql.SQLException
Specified by:
getTimestamp in interface java.sql.CallableStatement
Throws:
java.sql.SQLException

getTimestamp

public java.sql.Timestamp getTimestamp(int parameterIndex,
                                       java.util.Calendar cal)
                                throws java.sql.SQLException
Specified by:
getTimestamp in interface java.sql.CallableStatement
Throws:
java.sql.SQLException

getString

public java.lang.String getString(int parameterIndex)
                           throws java.sql.SQLException
Specified by:
getString in interface java.sql.CallableStatement
Throws:
java.sql.SQLException

getStringX

java.lang.String getStringX(int parameterIndex)
                      throws SqlException
Throws:
SqlException

getBytes

public byte[] getBytes(int parameterIndex)
                throws java.sql.SQLException
Specified by:
getBytes in interface java.sql.CallableStatement
Throws:
java.sql.SQLException

getBytesX

byte[] getBytesX(int parameterIndex)
           throws SqlException
Throws:
SqlException

getBlob

public java.sql.Blob getBlob(int parameterIndex)
                      throws java.sql.SQLException
Specified by:
getBlob in interface java.sql.CallableStatement
Throws:
java.sql.SQLException

getClob

public java.sql.Clob getClob(int parameterIndex)
                      throws java.sql.SQLException
Specified by:
getClob in interface java.sql.CallableStatement
Throws:
java.sql.SQLException

getArray

public java.sql.Array getArray(int parameterIndex)
                        throws java.sql.SQLException
Specified by:
getArray in interface java.sql.CallableStatement
Throws:
java.sql.SQLException

getRef

public java.sql.Ref getRef(int parameterIndex)
                    throws java.sql.SQLException
Specified by:
getRef in interface java.sql.CallableStatement
Throws:
java.sql.SQLException

getObject

public java.lang.Object getObject(int parameterIndex)
                           throws java.sql.SQLException
Specified by:
getObject in interface java.sql.CallableStatement
Throws:
java.sql.SQLException

getObject

public java.lang.Object getObject(int parameterIndex,
                                  java.util.Map map)
                           throws java.sql.SQLException
Specified by:
getObject in interface java.sql.CallableStatement
Throws:
java.sql.SQLException

registerOutParameter

public void registerOutParameter(java.lang.String parameterName,
                                 int sqlType)
                          throws java.sql.SQLException
Specified by:
registerOutParameter in interface java.sql.CallableStatement
Throws:
java.sql.SQLException

registerOutParameter

public void registerOutParameter(java.lang.String parameterName,
                                 int sqlType,
                                 int scale)
                          throws java.sql.SQLException
Specified by:
registerOutParameter in interface java.sql.CallableStatement
Throws:
java.sql.SQLException

registerOutParameter

public void registerOutParameter(java.lang.String parameterName,
                                 int sqlType,
                                 java.lang.String typeName)
                          throws java.sql.SQLException
Specified by:
registerOutParameter in interface java.sql.CallableStatement
Throws:
java.sql.SQLException

getURL

public java.net.URL getURL(int parameterIndex)
                    throws java.sql.SQLException
Specified by:
getURL in interface java.sql.CallableStatement
Throws:
java.sql.SQLException

setURL

public void setURL(java.lang.String parameterName,
                   java.net.URL x)
            throws java.sql.SQLException
Specified by:
setURL in interface java.sql.CallableStatement
Throws:
java.sql.SQLException

setNull

public void setNull(java.lang.String parameterName,
                    int sqlType)
             throws java.sql.SQLException
Specified by:
setNull in interface java.sql.CallableStatement
Throws: