BEA Systems, Inc.

WebLogic Server 8.1 API Reference

weblogic.jdbc.oci.xa
Class CallableStatement

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

public final class CallableStatement
extends PreparedStatement
implements java.sql.CallableStatement

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

Method Summary
 void close()
           
 boolean execute(java.lang.String a, int b)
           
 boolean execute(java.lang.String a, int[] b)
           
 boolean execute(java.lang.String a, java.lang.String[] b)
           
 int executeUpdate(java.lang.String a, int b)
           
 int executeUpdate(java.lang.String a, int[] b)
           
 int executeUpdate(java.lang.String a, java.lang.String[] b)
           
 java.sql.Array getArray(int i)
           
 java.sql.Array getArray(java.lang.String a)
           
 java.math.BigDecimal getBigDecimal(int parameterIndex)
           
 java.math.BigDecimal getBigDecimal(int parameterIndex, int scale)
           
 java.math.BigDecimal getBigDecimal(java.lang.String a)
           
 java.sql.Blob getBlob(int i)
           
 java.sql.Blob getBlob(java.lang.String a)
           
 boolean getBoolean(int parameterIndex)
           
 boolean getBoolean(java.lang.String a)
           
 byte getByte(int parameterIndex)
           
 byte getByte(java.lang.String a)
           
 byte[] getBytes(int parameterIndex)
           
 byte[] getBytes(java.lang.String a)
           
 java.sql.Clob getClob(int i)
           
 java.sql.Clob getClob(java.lang.String a)
           
 java.sql.Date getDate(int parameterIndex)
           
 java.sql.Date getDate(int parameterIndex, java.util.Calendar cal)
           
 java.sql.Date getDate(java.lang.String a)
           
 java.sql.Date getDate(java.lang.String a, java.util.Calendar b)
           
 double getDouble(int parameterIndex)
           
 double getDouble(java.lang.String a)
           
 float getFloat(int parameterIndex)
           
 float getFloat(java.lang.String a)
           
 java.sql.ResultSet getGeneratedKeys()
           
 int getInt(int parameterIndex)
           
 int getInt(java.lang.String a)
           
 long getLong(int parameterIndex)
           
 long getLong(java.lang.String a)
           
 boolean getMoreResults(int a)
           
 java.lang.Object getObject(int parameterIndex)
           
 java.lang.Object getObject(int i, java.util.Map map)
           
 java.lang.Object getObject(java.lang.String a)
           
 java.lang.Object getObject(java.lang.String a, java.util.Map b)
           
 java.sql.ParameterMetaData getParameterMetaData()
           
 java.sql.Ref getRef(int i)
           
 java.sql.Ref getRef(java.lang.String a)
           
 int getResultSetHoldability()
           
 short getShort(int parameterIndex)
           
 short getShort(java.lang.String a)
           
 java.lang.String getString(int parameterIndex)
           
 java.lang.String getString(java.lang.String a)
           
 java.sql.Time getTime(int parameterIndex)
           
 java.sql.Time getTime(int parameterIndex, java.util.Calendar cal)
           
 java.sql.Time getTime(java.lang.String a)
           
 java.sql.Time getTime(java.lang.String a, java.util.Calendar b)
           
 java.sql.Timestamp getTimestamp(int parameterIndex)
           
 java.sql.Timestamp getTimestamp(int parameterIndex, java.util.Calendar cal)
           
 java.sql.Timestamp getTimestamp(java.lang.String a)
           
 java.sql.Timestamp getTimestamp(java.lang.String a, java.util.Calendar b)
           
 java.net.URL getURL(int a)
           
 java.net.URL getURL(java.lang.String a)
           
 void registerOutParameter(int parameterIndex, int sqlType)
           
 void registerOutParameter(int parameterIndex, int sqlType, int scale)
           
 void registerOutParameter(int paramIndex, int sqlType, java.lang.String typeName)
           
 void registerOutParameter(java.lang.String a, int b)
           
 void registerOutParameter(java.lang.String a, int b, int c)
           
 void registerOutParameter(java.lang.String a, int b, java.lang.String c)
           
 void setAsciiStream(java.lang.String a, java.io.InputStream b, int c)
           
 void setBigDecimal(java.lang.String a, java.math.BigDecimal b)
           
 void setBinaryStream(java.lang.String a, java.io.InputStream b, int c)
           
 void setBoolean(java.lang.String a, boolean b)
           
 void setByte(java.lang.String a, byte b)
           
 void setBytes(java.lang.String a, byte[] b)
           
 void setCharacterStream(java.lang.String a, java.io.Reader b, int c)
           
 void setDate(java.lang.String a, java.sql.Date b)
           
 void setDate(java.lang.String a, java.sql.Date b, java.util.Calendar c)
           
 void setDouble(java.lang.String a, double b)
           
 void setFloat(java.lang.String a, float b)
           
 void setInt(java.lang.String a, int b)
           
 void setLong(java.lang.String a, long b)
           
 void setNull(java.lang.String a, int b)
           
 void setNull(java.lang.String a, int b, java.lang.String c)
           
 void setObject(java.lang.String a, java.lang.Object b)
           
 void setObject(java.lang.String a, java.lang.Object b, int c)
           
 void setObject(java.lang.String a, java.lang.Object b, int c, int d)
           
 void setShort(java.lang.String a, short b)
           
 void setString(java.lang.String a, java.lang.String b)
           
 void setTime(java.lang.String a, java.sql.Time b)
           
 void setTime(java.lang.String a, java.sql.Time b, java.util.Calendar c)
           
 void setTimestamp(java.lang.String a, java.sql.Timestamp b)
           
 void setTimestamp(java.lang.String a, java.sql.Timestamp b, java.util.Calendar c)
           
 void setURL(int a, java.net.URL b)
           
 void setURL(java.lang.String a, java.net.URL b)
           
 boolean wasNull()
           
 
Methods inherited from class weblogic.jdbc.oci.xa.PreparedStatement
addBatch, clearParameters, execute, executeQuery, executeUpdate, getMetaData, 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
 
Methods inherited from class weblogic.jdbc.oci.xa.Statement
addBatch, cancel, clearBatch, clearWarnings, execute, executeBatch, executeQuery, executeUpdate, getConnection, getFetchDirection, getFetchSize, getMaxFieldSize, getMaxRows, getMoreResults, getQueryTimeout, getResultSet, getResultSetConcurrency, getResultSetType, getUpdateCount, getWarnings, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setMaxFieldSize, setMaxRows, setQueryTimeout
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

registerOutParameter

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


registerOutParameter

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


wasNull

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


getString

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


getBoolean

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


getByte

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


getShort

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


getInt

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


getLong

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


getFloat

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


getDouble

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


getBytes

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


getDate

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


getTime

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


getTimestamp

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


getObject

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


getBigDecimal

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


close

public void close()
           throws java.sql.SQLException

Overrides:
close in class PreparedStatement

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


getBigDecimal

public java.math.BigDecimal getBigDecimal(int parameterIndex)
                                   throws java.sql.SQLException
Specified by:
getBigDecimal 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


getObject

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


registerOutParameter

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


execute

public boolean execute(java.lang.String a,
                       int b)
                throws java.sql.SQLException

Overrides:
execute in class Statement

execute

public boolean execute(java.lang.String a,
                       int[] b)
                throws java.sql.SQLException

Overrides:
execute in class Statement

execute

public boolean execute(java.lang.String a,
                       java.lang.String[] b)
                throws java.sql.SQLException

Overrides:
execute in class Statement

getBoolean

public boolean getBoolean(java.lang.String a)
                   throws java.sql.SQLException
Specified by:
getBoolean in interface java.sql.CallableStatement


getMoreResults

public boolean getMoreResults(int a)
                       throws java.sql.SQLException

Overrides:
getMoreResults in class Statement

getByte

public byte getByte(java.lang.String a)
             throws java.sql.SQLException
Specified by:
getByte in interface java.sql.CallableStatement


getBytes

public byte[] getBytes(java.lang.String a)
                throws java.sql.SQLException
Specified by:
getBytes in interface java.sql.CallableStatement


getDouble

public double getDouble(java.lang.String a)
                 throws java.sql.SQLException
Specified by:
getDouble in interface java.sql.CallableStatement


getFloat

public float getFloat(java.lang.String a)
               throws java.sql.SQLException
Specified by:
getFloat in interface java.sql.CallableStatement


executeUpdate

public int executeUpdate(java.lang.String a,
                         int b)
                  throws java.sql.SQLException

Overrides:
executeUpdate in class Statement

executeUpdate

public int executeUpdate(java.lang.String a,
                         int[] b)
                  throws java.sql.SQLException

Overrides:
executeUpdate in class Statement

executeUpdate

public int executeUpdate(java.lang.String a,
                         java.lang.String[] b)
                  throws java.sql.SQLException

Overrides:
executeUpdate in class Statement

getInt

public int getInt(java.lang.String a)
           throws java.sql.SQLException
Specified by:
getInt in interface java.sql.CallableStatement


getResultSetHoldability

public int getResultSetHoldability()
                            throws java.sql.SQLException

Overrides:
getResultSetHoldability in class Statement

getObject

public java.lang.Object getObject(java.lang.String a)
                           throws java.sql.SQLException
Specified by:
getObject in interface java.sql.CallableStatement


getObject

public java.lang.Object getObject(java.lang.String a,
                                  java.util.Map b)
                           throws java.sql.SQLException
Specified by:
getObject in interface java.sql.CallableStatement


getString

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


getBigDecimal

public java.math.BigDecimal getBigDecimal(java.lang.String a)
                                   throws java.sql.SQLException
Specified by:
getBigDecimal in interface java.sql.CallableStatement


getURL

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


getURL

public java.net.URL getURL(java.lang.String a)
                    throws java.sql.SQLException
Specified by:
getURL in interface java.sql.CallableStatement


getArray

public java.sql.Array getArray(java.lang.String a)
                        throws java.sql.SQLException
Specified by:
getArray in interface java.sql.CallableStatement


getBlob

public java.sql.Blob getBlob(java.lang.String a)
                      throws java.sql.SQLException
Specified by:
getBlob in interface java.sql.CallableStatement


getClob

public java.sql.Clob getClob(java.lang.String a)
                      throws java.sql.SQLException
Specified by:
getClob in interface java.sql.CallableStatement


getDate

public java.sql.Date getDate(java.lang.String a)
                      throws java.sql.SQLException
Specified by:
getDate in interface java.sql.CallableStatement


getDate

public java.sql.Date getDate(java.lang.String a,
                             java.util.Calendar b)
                      throws java.sql.SQLException
Specified by:
getDate in interface java.sql.CallableStatement


getParameterMetaData

public java.sql.ParameterMetaData getParameterMetaData()
                                                throws java.sql.SQLException

Overrides:
getParameterMetaData in class PreparedStatement

getRef

public java.sql.Ref getRef(java.lang.String a)
                    throws java.sql.SQLException
Specified by:
getRef in interface java.sql.CallableStatement


getGeneratedKeys

public java.sql.ResultSet getGeneratedKeys()
                                    throws java.sql.SQLException

Overrides:
getGeneratedKeys in class Statement

getTime

public java.sql.Time getTime(java.lang.String a)
                      throws java.sql.SQLException
Specified by:
getTime in interface java.sql.CallableStatement


getTime

public java.sql.Time getTime(java.lang.String a,
                             java.util.Calendar b)
                      throws java.sql.SQLException
Specified by:
getTime in interface java.sql.CallableStatement


getTimestamp

public java.sql.Timestamp getTimestamp(java.lang.String a)
                                throws java.sql.SQLException
Specified by:
getTimestamp in interface java.sql.CallableStatement


getTimestamp

public java.sql.Timestamp getTimestamp(java.lang.String a,
                                       java.util.Calendar b)
                                throws java.sql.SQLException
Specified by:
getTimestamp in interface java.sql.CallableStatement


getLong

public long getLong(java.lang.String a)
             throws java.sql.SQLException
Specified by:
getLong in interface java.sql.CallableStatement


getShort

public short getShort(java.lang.String a)
               throws java.sql.SQLException
Specified by:
getShort in interface java.sql.CallableStatement


registerOutParameter

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


registerOutParameter

public void registerOutParameter(java.lang.String a,
                                 int b,
                                 int c)
                          throws java.sql.SQLException
Specified by:
registerOutParameter in interface java.sql.CallableStatement


registerOutParameter

public void registerOutParameter(java.lang.String a,
                                 int b,
                                 java.lang.String c)
                          throws java.sql.SQLException
Specified by:
registerOutParameter in interface java.sql.CallableStatement


setAsciiStream

public void setAsciiStream(java.lang.String a,
                           java.io.InputStream b,
                           int c)
                    throws java.sql.SQLException
Specified by:
setAsciiStream in interface java.sql.CallableStatement


setBigDecimal

public void setBigDecimal(java.lang.String a,
                          java.math.BigDecimal b)
                   throws java.sql.SQLException
Specified by:
setBigDecimal in interface java.sql.CallableStatement


setBinaryStream

public void setBinaryStream(java.lang.String a,
                            java.io.InputStream b,
                            int c)
                     throws java.sql.SQLException
Specified by:
setBinaryStream in interface java.sql.CallableStatement


setBoolean

public void setBoolean(java.lang.String a,
                       boolean b)
                throws java.sql.SQLException
Specified by:
setBoolean in interface java.sql.CallableStatement


setByte

public void setByte(java.lang.String a,
                    byte b)
             throws java.sql.SQLException
Specified by:
setByte in interface java.sql.CallableStatement


setBytes

public void setBytes(java.lang.String a,
                     byte[] b)
              throws java.sql.SQLException
Specified by:
setBytes in interface java.sql.CallableStatement


setCharacterStream

public void setCharacterStream(java.lang.String a,
                               java.io.Reader b,
                               int c)
                        throws java.sql.SQLException
Specified by:
setCharacterStream in interface java.sql.CallableStatement


setDate

public void setDate(java.lang.String a,
                    java.sql.Date b)
             throws java.sql.SQLException
Specified by:
setDate in interface java.sql.CallableStatement


setDate

public void setDate(java.lang.String a,
                    java.sql.Date b,
                    java.util.Calendar c)
             throws java.sql.SQLException
Specified by:
setDate in interface java.sql.CallableStatement


setDouble

public void setDouble(java.lang.String a,
                      double b)
               throws java.sql.SQLException
Specified by:
setDouble in interface java.sql.CallableStatement


setFloat

public void setFloat(java.lang.String a,
                     float b)
              throws java.sql.SQLException
Specified by:
setFloat in interface java.sql.CallableStatement


setInt

public void setInt(java.lang.String a,
                   int b)
            throws java.sql.SQLException
Specified by:
setInt in interface java.sql.CallableStatement


setLong

public void setLong(java.lang.String a,
                    long b)
             throws java.sql.SQLException
Specified by:
setLong in interface java.sql.CallableStatement


setNull

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


setObject

public void setObject(java.lang.String a,
                      java.lang.Object b)
               throws java.sql.SQLException
Specified by:
setObject in interface java.sql.CallableStatement


setObject

public void setObject(java.lang.String a,
                      java.lang.Object b,
                      int c)
               throws java.sql.SQLException
Specified by:
setObject in interface java.sql.CallableStatement


setObject

public void setObject(java.lang.String a,
                      java.lang.Object b,
                      int c,
                      int d)
               throws java.sql.SQLException
Specified by:
setObject in interface java.sql.CallableStatement


setShort

public void setShort(java.lang.String a,
                     short b)
              throws java.sql.SQLException
Specified by:
setShort in interface java.sql.CallableStatement


setString

public void setString(java.lang.String a,
                      java.lang.String b)
               throws java.sql.SQLException
Specified by:
setString in interface java.sql.CallableStatement


setTime

public void setTime(java.lang.String a,
                    java.sql.Time b)
             throws java.sql.SQLException
Specified by:
setTime in interface java.sql.CallableStatement


setTime

public void setTime(java.lang.String a,
                    java.sql.Time b,
                    java.util.Calendar c)
             throws java.sql.SQLException
Specified by:
setTime in interface java.sql.CallableStatement


setTimestamp

public void setTimestamp(java.lang.String a,
                         java.sql.Timestamp b)
                  throws java.sql.SQLException
Specified by:
setTimestamp in interface java.sql.CallableStatement


setTimestamp

public void setTimestamp(java.lang.String a,
                         java.sql.Timestamp b,
                         java.util.Calendar c)
                  throws java.sql.SQLException
Specified by:
setTimestamp in interface java.sql.CallableStatement


setURL

public void setURL(int a,
                   java.net.URL b)
            throws java.sql.SQLException

Overrides:
setURL in class PreparedStatement

setURL

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


setNull

public void setNull(java.lang.String a,
                    int b,
                    java.lang.String c)
             throws java.sql.SQLException
Specified by:
setNull in interface java.sql.CallableStatement


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