BEA Systems, Inc.

WebLogic Server 6.1 API Reference

weblogic.jdbc.pool
Class CallableStatement

java.lang.Object
  |
  +--weblogic.jdbc.pool.Statement
        |
        +--weblogic.jdbc.pool.PreparedStatement
              |
              +--weblogic.jdbc.pool.CallableStatement

public class CallableStatement
extends PreparedStatement
implements java.sql.CallableStatement, weblogic.jdbc.common.OracleCallableStatement, weblogic.jdbc.vendor.oracle.OracleCallableStatement

Author:
Copyright © 2001 BEA Systems, Inc. All Rights Reserved.

Fields inherited from class weblogic.jdbc.pool.Statement
cc, conn, key, sqlParamLoggingEnabled, sqlParamLogMaxLength, sqlProfilingEnabled, stmt, stmtProfile
 
Constructor Summary
CallableStatement(java.sql.CallableStatement jstmt, weblogic.jdbc.common.internal.ConnectionEnv aCc, java.lang.String aKey, Connection aConn)
           
 
Method Summary
 java.sql.Array getArray(int i)
           
 oracle.sql.ARRAY getARRAY(int i)
           
 java.io.InputStream getAsciiStream(int i)
           
 oracle.sql.BFILE getBFILE(int i)
           
 java.math.BigDecimal getBigDecimal(int parameterIndex)
           
 java.io.InputStream getBinaryStream(int i)
           
 java.sql.Blob getBlob(int i)
           
 oracle.sql.BLOB getBLOB(int i)
           
 oracle.sql.CHAR getCHAR(int i)
           
 java.sql.Clob getClob(int i)
           
 oracle.sql.CLOB getCLOB(int i)
           
 java.sql.ResultSet getCursor(int i)
           
 java.lang.Object getCustomDatum(int i, oracle.sql.CustomDatumFactory f)
           
 oracle.sql.DATE getDATE(int i)
           
 java.sql.Date getDate(int parameterIndex, java.util.Calendar cal)
           
 oracle.sql.NUMBER getNUMBER(int i)
           
 java.lang.Object getObject(int i, java.util.Map map)
           
 oracle.sql.Datum getOracleObject(int i)
           
 oracle.sql.Datum[] getOraclePlsqlIndexTable(int i)
           
 java.lang.Object getPlsqlIndexTable(int i)
           
 java.lang.Object getPlsqlIndexTable(int i, java.lang.Class c)
           
 oracle.sql.RAW getRAW(int i)
           
 java.sql.Ref getRef(int i)
           
 oracle.sql.REF getREF(int i)
           
 java.sql.ResultSet getResultSet(int parameterIndex)
           
 oracle.sql.ROWID getROWID(int i)
           
 oracle.sql.STRUCT getSTRUCT(int i)
           
 java.sql.Time getTime(int parameterIndex, java.util.Calendar cal)
           
 java.sql.Timestamp getTimestamp(int parameterIndex, java.util.Calendar cal)
           
 java.io.InputStream getUnicodeStream(int i)
           
 void registerIndexTableOutParameter(int i, int j, int k, int l)
           
 void registerOutParameter(int i, int j, int k, int l)
           
 void registerOutParameter(int i, int sqlType, java.lang.String typeName)
           
 int sendBatch()
           
 void setExecuteBatch(int i)
           
 void setNull(int i, int sqlType, java.lang.String typeName)
           
 
Methods inherited from class weblogic.jdbc.pool.PreparedStatement
addBatch, defineParameterType, execute, executeQuery, executeUpdate, getExecuteBatch, getMetaData, setArray, setARRAY, setBfile, setBFILE, setBlob, setBLOB, setCHAR, setCharacterStream, setCheckBindTypes, setClob, setCLOB, setCursor, setCustomDatum, setDATE, setDate, setDisableStmtCaching, setFixedCHAR, setInternalBytes, setNUMBER, setOracleObject, setPlsqlIndexTable, setRAW, setRef, setREF, setRefType, setROWID, setSTRUCT, setTime, setTimestamp
 
Methods inherited from class weblogic.jdbc.pool.Statement
addBatch, cancel, clearBatch, clearDefines, clearParameters, clearWarnings, close, closeWithKey, creationState, defineColumnType, defineColumnType, defineColumnType, describe, execute, executeBatch, executeQuery, executeUpdate, executeWriteText, executeWriteText, executeWriteText, executeWriteText, finalize, getAutoRefetch, getBigDecimal, getBinds, getBoolean, getByte, getBytes, getConnection, getDate, getDBDescription, getDouble, getFetchDirection, getFetchSize, getFloat, getInt, getLong, getMaxFieldSize, getMaxRows, getMoreResults, getObject, getOriginalSql, getQueryTimeout, getResultSet, getResultSetCache, getResultSetConcurrency, getResultSetType, getRevisedSql, getRowPrefetch, getShort, getSqlKind, getString, getTime, getTimestamp, getUpdateCount, getWarnings, initMonitoring, is_value_null, notify_close_rset, registerOutParameter, registerOutParameter, setAsciiStream, setAutoRefetch, setBigDecimal, setBinaryStream, setBoolean, setByte, setBytes, setCursorName, setDate, setDouble, setEscapeProcessing, setFetchDirection, setFetchSize, setFloat, setInt, setLong, setMaxFieldSize, setMaxRows, setNull, setObject, setObject, setObject, setQueryTimeout, setResultSetCache, setResultSetCache, setRowPrefetch, setShort, setString, setTime, setTimestamp, setUnicodeStream, wasNull
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CallableStatement

public CallableStatement(java.sql.CallableStatement jstmt,
                         weblogic.jdbc.common.internal.ConnectionEnv aCc,
                         java.lang.String aKey,
                         Connection aConn)
Method Detail

getResultSet

public java.sql.ResultSet getResultSet(int parameterIndex)
                                throws java.sql.SQLException
Specified by:
getResultSet in interface weblogic.jdbc.common.OracleCallableStatement

Parameters:
parameterIndex - int
Returns:
java.sql.ResultSet
Throws:
java.sql.SQLException - if there is an error

setNull

public void setNull(int i,
                    int sqlType,
                    java.lang.String typeName)
             throws java.sql.SQLException

Overrides:
setNull in class PreparedStatement

registerOutParameter

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


getBigDecimal

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


getObject

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


getRef

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


getBlob

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


getClob

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


getArray

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


getDate

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


getTime

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


getTimestamp

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


sendBatch

public int sendBatch()
              throws java.sql.SQLException

Overrides:
sendBatch in class Statement

registerIndexTableOutParameter

public void registerIndexTableOutParameter(int i,
                                           int j,
                                           int k,
                                           int l)
                                    throws java.sql.SQLException
Specified by:
registerIndexTableOutParameter in interface weblogic.jdbc.vendor.oracle.OracleCallableStatement


registerOutParameter

public void registerOutParameter(int i,
                                 int j,
                                 int k,
                                 int l)
                          throws java.sql.SQLException
Specified by:
registerOutParameter in interface weblogic.jdbc.vendor.oracle.OracleCallableStatement


setExecuteBatch

public void setExecuteBatch(int i)
                     throws java.sql.SQLException

Overrides:
setExecuteBatch in class PreparedStatement

getCursor

public java.sql.ResultSet getCursor(int i)
                             throws java.sql.SQLException
Specified by:
getCursor in interface weblogic.jdbc.vendor.oracle.OracleCallableStatement


getAsciiStream

public java.io.InputStream getAsciiStream(int i)
                                   throws java.sql.SQLException
Specified by:
getAsciiStream in interface weblogic.jdbc.vendor.oracle.OracleCallableStatement


getBinaryStream

public java.io.InputStream getBinaryStream(int i)
                                    throws java.sql.SQLException
Specified by:
getBinaryStream in interface weblogic.jdbc.vendor.oracle.OracleCallableStatement


getUnicodeStream

public java.io.InputStream getUnicodeStream(int i)
                                     throws java.sql.SQLException
Specified by:
getUnicodeStream in interface weblogic.jdbc.vendor.oracle.OracleCallableStatement


getCustomDatum

public java.lang.Object getCustomDatum(int i,
                                       oracle.sql.CustomDatumFactory f)
                                throws java.sql.SQLException
Specified by:
getCustomDatum in interface weblogic.jdbc.vendor.oracle.OracleCallableStatement


getPlsqlIndexTable

public java.lang.Object getPlsqlIndexTable(int i,
                                           java.lang.Class c)
                                    throws java.sql.SQLException
Specified by:
getPlsqlIndexTable in interface weblogic.jdbc.vendor.oracle.OracleCallableStatement


getPlsqlIndexTable

public java.lang.Object getPlsqlIndexTable(int i)
                                    throws java.sql.SQLException
Specified by:
getPlsqlIndexTable in interface weblogic.jdbc.vendor.oracle.OracleCallableStatement


getARRAY

public oracle.sql.ARRAY getARRAY(int i)
                          throws java.sql.SQLException
Specified by:
getARRAY in interface weblogic.jdbc.vendor.oracle.OracleCallableStatement


getBFILE

public oracle.sql.BFILE getBFILE(int i)
                          throws java.sql.SQLException
Specified by:
getBFILE in interface weblogic.jdbc.vendor.oracle.OracleCallableStatement


getBLOB

public oracle.sql.BLOB getBLOB(int i)
                        throws java.sql.SQLException
Specified by:
getBLOB in interface weblogic.jdbc.vendor.oracle.OracleCallableStatement


getCHAR

public oracle.sql.CHAR getCHAR(int i)
                        throws java.sql.SQLException
Specified by:
getCHAR in interface weblogic.jdbc.vendor.oracle.OracleCallableStatement


getCLOB

public oracle.sql.CLOB getCLOB(int i)
                        throws java.sql.SQLException
Specified by:
getCLOB in interface weblogic.jdbc.vendor.oracle.OracleCallableStatement


getDATE

public oracle.sql.DATE getDATE(int i)
                        throws java.sql.SQLException
Specified by:
getDATE in interface weblogic.jdbc.vendor.oracle.OracleCallableStatement


getOracleObject

public oracle.sql.Datum getOracleObject(int i)
                                 throws java.sql.SQLException
Specified by:
getOracleObject in interface weblogic.jdbc.vendor.oracle.OracleCallableStatement


getOraclePlsqlIndexTable

public oracle.sql.Datum[] getOraclePlsqlIndexTable(int i)
                                            throws java.sql.SQLException
Specified by:
getOraclePlsqlIndexTable in interface weblogic.jdbc.vendor.oracle.OracleCallableStatement


getNUMBER

public oracle.sql.NUMBER getNUMBER(int i)
                            throws java.sql.SQLException
Specified by:
getNUMBER in interface weblogic.jdbc.vendor.oracle.OracleCallableStatement


getRAW

public oracle.sql.RAW getRAW(int i)
                      throws java.sql.SQLException
Specified by:
getRAW in interface weblogic.jdbc.vendor.oracle.OracleCallableStatement


getREF

public oracle.sql.REF getREF(int i)
                      throws java.sql.SQLException
Specified by:
getREF in interface weblogic.jdbc.vendor.oracle.OracleCallableStatement


getROWID

public oracle.sql.ROWID getROWID(int i)
                          throws java.sql.SQLException
Specified by:
getROWID in interface weblogic.jdbc.vendor.oracle.OracleCallableStatement


getSTRUCT

public oracle.sql.STRUCT getSTRUCT(int i)
                            throws java.sql.SQLException
Specified by:
getSTRUCT in interface weblogic.jdbc.vendor.oracle.OracleCallableStatement


Documentation is available at
http://download.oracle.com/docs/cd/E13222_01/wls/docs61

WebLogic classes and methods that do not appear in this reference are not public and are not supported.