Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.opencms.dbpool
Class CmsCallableStatement  view CmsCallableStatement download CmsCallableStatement.java

java.lang.Object
  extended bycom.opencms.dbpool.CmsStatement
      extended bycom.opencms.dbpool.CmsPreparedStatement
          extended bycom.opencms.dbpool.CmsCallableStatement
All Implemented Interfaces:
java.sql.CallableStatement, java.sql.PreparedStatement, java.sql.Statement

public class CmsCallableStatement
extends CmsPreparedStatement
implements java.sql.CallableStatement

The interface used to execute SQL stored procedures.


Field Summary
 
Fields inherited from class com.opencms.dbpool.CmsStatement
m_con, m_originalStatement
 
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
(package private) CmsCallableStatement(java.sql.PreparedStatement originalStatement, CmsConnection con)
          The constructor to create a new statement
 
Method Summary
 java.sql.Array getArray(int i)
          This method returns the value of the specified parameter as a Java Array.
 java.sql.Array getArray(java.lang.String str)
          This method returns the value of the specified parameter as a Java Array.
 java.math.BigDecimal getBigDecimal(int parameterIndex)
          This method returns the value of the specified parameter as a Java BigDecimal.
 java.math.BigDecimal getBigDecimal(int parameterIndex, int scale)
          This method returns the value of the specified parameter as a Java BigDecimal.
 java.math.BigDecimal getBigDecimal(java.lang.String str)
          This method returns the value of the specified parameter as a Java BigDecimal.
 java.sql.Blob getBlob(int i)
          This method returns the value of the specified parameter as a Java Blob.
 java.sql.Blob getBlob(java.lang.String str)
          This method returns the value of the specified parameter as a Java Blob.
 boolean getBoolean(int parameterIndex)
          This method returns the value of the specified parameter as a Java boolean.
 boolean getBoolean(java.lang.String str)
          This method returns the value of the specified parameter as a Java boolean.
 byte getByte(int parameterIndex)
          This method returns the value of the specified parameter as a Java byte.
 byte getByte(java.lang.String str)
          This method returns the value of the specified parameter as a Java byte.
 byte[] getBytes(int parameterIndex)
          This method returns the value of the specified parameter as a Java byte array.
 byte[] getBytes(java.lang.String str)
          This method returns the value of the specified parameter as a Java byte array.
 java.sql.Clob getClob(int i)
          This method returns the value of the specified parameter as a Java Clob.
 java.sql.Clob getClob(java.lang.String str)
          This method returns the value of the specified parameter as a Java Clob.
 java.sql.Date getDate(int parameterIndex)
          This method returns the value of the specified parameter as a Java java.sql.Date.
 java.sql.Date getDate(int parameterIndex, java.util.Calendar cal)
          This method returns the value of the specified parameter as a Java java.sql.Date.
 java.sql.Date getDate(java.lang.String str)
          This method returns the value of the specified parameter as a Java java.sql.Date.
 java.sql.Date getDate(java.lang.String str, java.util.Calendar calendar)
          This method returns the value of the specified parameter as a Java java.sql.Date.
 double getDouble(int parameterIndex)
          This method returns the value of the specified parameter as a Java double.
 double getDouble(java.lang.String str)
          This method returns the value of the specified parameter as a Java double.
 float getFloat(int parameterIndex)
          This method returns the value of the specified parameter as a Java float.
 float getFloat(java.lang.String str)
          This method returns the value of the specified parameter as a Java float.
 int getInt(int parameterIndex)
          This method returns the value of the specified parameter as a Java int.
 int getInt(java.lang.String str)
          This method returns the value of the specified parameter as a Java int.
 long getLong(int parameterIndex)
          This method returns the value of the specified parameter as a Java long.
 long getLong(java.lang.String str)
          This method returns the value of the specified parameter as a Java long.
 java.lang.Object getObject(int parameterIndex)
          This method returns the value of the specified parameter as a Java Object.
 java.lang.Object getObject(int i, java.util.Map map)
          This method returns the value of the specified parameter as a Java Object.
 java.lang.Object getObject(java.lang.String str)
          This method returns the value of the specified parameter as a Java Object.
 java.lang.Object getObject(java.lang.String str, java.util.Map map)
          This method returns the value of the specified parameter as a Java Object using the specified mapping for conversion from SQL to Java types.
 java.sql.Ref getRef(int i)
          This method returns the value of the specified parameter as a Java Ref.
 java.sql.Ref getRef(java.lang.String str)
          This method returns the value of the specified parameter as a Java Ref.
 short getShort(int parameterIndex)
          This method returns the value of the specified parameter as a Java short.
 short getShort(java.lang.String str)
          This method returns the value of the specified parameter as a Java short.
 java.lang.String getString(int parameterIndex)
          This method returns the value of the specified parameter as a Java String.
 java.lang.String getString(java.lang.String str)
          This method returns the value of the specified parameter as a Java String.
 java.sql.Time getTime(int parameterIndex)
          This method returns the value of the specified parameter as a Java java.sql.Time.
 java.sql.Time getTime(int parameterIndex, java.util.Calendar cal)
          This method returns the value of the specified parameter as a Java java.sql.Time.
 java.sql.Time getTime(java.lang.String str)
          This method returns the value of the specified parameter as a Java java.sql.Time.
 java.sql.Time getTime(java.lang.String str, java.util.Calendar calendar)
          This method returns the value of the specified parameter as a Java java.sql.Time.
 java.sql.Timestamp getTimestamp(int parameterIndex)
          This method returns the value of the specified parameter as a Java java.sql.Timestamp.
 java.sql.Timestamp getTimestamp(int parameterIndex, java.util.Calendar cal)
          This method returns the value of the specified parameter as a Java java.sql.Timestamp.
 java.sql.Timestamp getTimestamp(java.lang.String str)
          This method returns the value of the specified parameter as a Java java.sql.Timestamp.
 java.sql.Timestamp getTimestamp(java.lang.String str, java.util.Calendar calendar)
          This method returns the value of the specified parameter as a Java java.sql.Timestamp.
 java.net.URL getURL(int param)
          This method returns the value of the specified parameter as a Java java.net.URL.
 java.net.URL getURL(java.lang.String str)
          This method returns the value of the specified parameter as a Java java.net.URL.
 void registerOutParameter(int parameterIndex, int sqlType)
          This method registers the specified parameter as an output parameter of the specified SQL type.
 void registerOutParameter(int parameterIndex, int sqlType, int scale)
          This method registers the specified parameter as an output parameter of the specified SQL type and scale.
 void registerOutParameter(int paramIndex, int sqlType, java.lang.String typeName)
          This method registers the specified parameter as an output parameter of the specified SQL type.
 void registerOutParameter(java.lang.String str, int param)
          This method registers the specified parameter as an output parameter of the specified SQL type.
 void registerOutParameter(java.lang.String str, int param, int param2)
          This method registers the specified parameter as an output parameter of the specified SQL type.
 void registerOutParameter(java.lang.String str, int param, java.lang.String str2)
          This method registers the specified parameter as an output parameter of the specified SQL type.
 void setAsciiStream(java.lang.String str, java.io.InputStream inputStream, int param)
          This method sets the specified parameter from the given Java ASCII InputStream value.
 void setBigDecimal(java.lang.String str, java.math.BigDecimal bigDecimal)
          This method sets the specified parameter from the given Java BigDecimal value.
 void setBinaryStream(java.lang.String str, java.io.InputStream inputStream, int param)
          This method sets the specified parameter from the given Java binary InputStream value.
 void setBoolean(java.lang.String str, boolean param)
          This method sets the specified parameter from the given Java boolean value.
 void setByte(java.lang.String str, byte param)
          This method sets the specified parameter from the given Java byte value.
 void setBytes(java.lang.String str, byte[] values)
          This method sets the specified parameter from the given Java byte array value.
 void setCharacterStream(java.lang.String str, java.io.Reader reader, int param)
          This method sets the specified parameter from the given Java character Reader value.
 void setDate(java.lang.String str, java.sql.Date date)
          This method sets the specified parameter from the given Java java.sql.Date value.
 void setDate(java.lang.String str, java.sql.Date date, java.util.Calendar calendar)
          This method sets the specified parameter from the given Java java.sql.Date value.
 void setDouble(java.lang.String str, double param)
          This method sets the specified parameter from the given Java double value.
 void setFloat(java.lang.String str, float param)
          This method sets the specified parameter from the given Java float value.
 void setInt(java.lang.String str, int param)
          This method sets the specified parameter from the given Java int value.
 void setLong(java.lang.String str, long param)
          This method sets the specified parameter from the given Java long value.
 void setNull(java.lang.String str, int param)
          This method populates the specified parameter with a SQL NULL value for the specified type.
 void setNull(java.lang.String str, int param, java.lang.String str2)
          This method populates the specified parameter with a SQL NULL value for the specified type.
 void setObject(java.lang.String str, java.lang.Object obj)
          This method sets the specified parameter from the given Java Object value.
 void setObject(java.lang.String str, java.lang.Object obj, int param)
          This method sets the specified parameter from the given Java Object value.
 void setObject(java.lang.String str, java.lang.Object obj, int param, int param3)
          This method sets the specified parameter from the given Java Object value.
 void setShort(java.lang.String str, short param)
          This method sets the specified parameter from the given Java short value.
 void setString(java.lang.String str, java.lang.String str1)
          This method sets the specified parameter from the given Java String value.
 void setTime(java.lang.String str, java.sql.Time time)
          This method sets the specified parameter from the given Java java.sql.Time value.
 void setTime(java.lang.String str, java.sql.Time time, java.util.Calendar calendar)
          This method sets the specified parameter from the given Java java.sql.Time value.
 void setTimestamp(java.lang.String str, java.sql.Timestamp timestamp)
          This method sets the specified parameter from the given Java java.sql.Timestamp value.
 void setTimestamp(java.lang.String str, java.sql.Timestamp timestamp, java.util.Calendar calendar)
          This method sets the specified parameter from the given Java java.sql.Timestamp value.
 void setURL(java.lang.String str, java.net.URL uRL)
          This method sets the value of the specified parameter to the specified java.net.URL
 boolean wasNull()
          This method tests whether the value of the last parameter that was fetched was actually a SQL NULL value.
 
Methods inherited from class com.opencms.dbpool.CmsPreparedStatement
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 com.opencms.dbpool.CmsStatement
addBatch, cancel, clearBatch, clearWarnings, close, closeOriginalStatement, execute, execute, execute, execute, executeBatch, executeQuery, executeUpdate, executeUpdate, executeUpdate, executeUpdate, finalize, getConnection, getFetchDirection, getFetchSize, getGeneratedKeys, getMaxFieldSize, getMaxRows, getMoreResults, getMoreResults, getQueryTimeout, getResultSet, getResultSetConcurrency, getResultSetHoldability, getResultSetType, getUpdateCount, getWarnings, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setMaxFieldSize, setMaxRows, setQueryTimeout, toString
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, 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
 

Constructor Detail

CmsCallableStatement

CmsCallableStatement(java.sql.PreparedStatement originalStatement,
                     CmsConnection con)
The constructor to create a new statement

Method Detail

getString

public java.lang.String getString(int parameterIndex)
                           throws java.sql.SQLException
Description copied from interface: java.sql.CallableStatement
This method returns the value of the specified parameter as a Java String.

Specified by:
getString in interface java.sql.CallableStatement

getBoolean

public boolean getBoolean(int parameterIndex)
                   throws java.sql.SQLException
Description copied from interface: java.sql.CallableStatement
This method returns the value of the specified parameter as a Java boolean.

Specified by:
getBoolean in interface java.sql.CallableStatement

getByte

public byte getByte(int parameterIndex)
             throws java.sql.SQLException
Description copied from interface: java.sql.CallableStatement
This method returns the value of the specified parameter as a Java byte.

Specified by:
getByte in interface java.sql.CallableStatement

getShort

public short getShort(int parameterIndex)
               throws java.sql.SQLException
Description copied from interface: java.sql.CallableStatement
This method returns the value of the specified parameter as a Java short.

Specified by:
getShort in interface java.sql.CallableStatement

getInt

public int getInt(int parameterIndex)
           throws java.sql.SQLException
Description copied from interface: java.sql.CallableStatement
This method returns the value of the specified parameter as a Java int.

Specified by:
getInt in interface java.sql.CallableStatement

getLong

public long getLong(int parameterIndex)
             throws java.sql.SQLException
Description copied from interface: java.sql.CallableStatement
This method returns the value of the specified parameter as a Java long.

Specified by:
getLong in interface java.sql.CallableStatement

getFloat

public float getFloat(int parameterIndex)
               throws java.sql.SQLException
Description copied from interface: java.sql.CallableStatement
This method returns the value of the specified parameter as a Java float.

Specified by:
getFloat in interface java.sql.CallableStatement

getDouble

public double getDouble(int parameterIndex)
                 throws java.sql.SQLException
Description copied from interface: java.sql.CallableStatement
This method returns the value of the specified parameter as a Java double.

Specified by:
getDouble in interface java.sql.CallableStatement

getBigDecimal

public java.math.BigDecimal getBigDecimal(int parameterIndex,
                                          int scale)
                                   throws java.sql.SQLException
Deprecated. This is deprecated in JDBC 3.0 but still must be implemented

Description copied from interface: java.sql.CallableStatement
This method returns the value of the specified parameter as a Java BigDecimal.

Specified by:
getBigDecimal in interface java.sql.CallableStatement

getBytes

public byte[] getBytes(int parameterIndex)
                throws java.sql.SQLException
Description copied from interface: java.sql.CallableStatement
This method returns the value of the specified parameter as a Java byte array.

Specified by:
getBytes in interface java.sql.CallableStatement

getDate

public java.sql.Date getDate(int parameterIndex)
                      throws java.sql.SQLException
Description copied from interface: java.sql.CallableStatement
This method returns the value of the specified parameter as a Java java.sql.Date.

Specified by:
getDate in interface java.sql.CallableStatement

getTime

public java.sql.Time getTime(int parameterIndex)
                      throws java.sql.SQLException
Description copied from interface: java.sql.CallableStatement
This method returns the value of the specified parameter as a Java java.sql.Time.

Specified by:
getTime in interface java.sql.CallableStatement

getTimestamp

public java.sql.Timestamp getTimestamp(int parameterIndex)
                                throws java.sql.SQLException
Description copied from interface: java.sql.CallableStatement
This method returns the value of the specified parameter as a Java java.sql.Timestamp.

Specified by:
getTimestamp in interface java.sql.CallableStatement

getObject

public java.lang.Object getObject(int parameterIndex)
                           throws java.sql.SQLException
Description copied from interface: java.sql.CallableStatement
This method returns the value of the specified parameter as a Java Object.

Specified by:
getObject in interface java.sql.CallableStatement

getBigDecimal

public java.math.BigDecimal getBigDecimal(int parameterIndex)
                                   throws java.sql.SQLException
Description copied from interface: java.sql.CallableStatement
This method returns the value of the specified parameter as a Java BigDecimal.

Specified by:
getBigDecimal in interface java.sql.CallableStatement

getObject

public java.lang.Object getObject(int i,
                                  java.util.Map map)
                           throws java.sql.SQLException
Description copied from interface: java.sql.CallableStatement
This method returns the value of the specified parameter as a Java Object.

Specified by:
getObject in interface java.sql.CallableStatement

getRef

public java.sql.Ref getRef(int i)
                    throws java.sql.SQLException
Description copied from interface: java.sql.CallableStatement
This method returns the value of the specified parameter as a Java Ref.

Specified by:
getRef in interface java.sql.CallableStatement

getBlob

public java.sql.Blob getBlob(int i)
                      throws java.sql.SQLException
Description copied from interface: java.sql.CallableStatement
This method returns the value of the specified parameter as a Java Blob.

Specified by:
getBlob in interface java.sql.CallableStatement

getClob

public java.sql.Clob getClob(int i)
                      throws java.sql.SQLException
Description copied from interface: java.sql.CallableStatement
This method returns the value of the specified parameter as a Java Clob.

Specified by:
getClob in interface java.sql.CallableStatement

getArray

public java.sql.Array getArray(int i)
                        throws java.sql.SQLException
Description copied from interface: java.sql.CallableStatement
This method returns the value of the specified parameter as a Java Array.

Specified by:
getArray in interface java.sql.CallableStatement

getDate

public java.sql.Date getDate(int parameterIndex,
                             java.util.Calendar cal)
                      throws java.sql.SQLException
Description copied from interface: java.sql.CallableStatement
This method returns the value of the specified parameter as a Java java.sql.Date.

Specified by:
getDate in interface java.sql.CallableStatement

getTime

public java.sql.Time getTime(int parameterIndex,
                             java.util.Calendar cal)
                      throws java.sql.SQLException
Description copied from interface: java.sql.CallableStatement
This method returns the value of the specified parameter as a Java java.sql.Time.

Specified by:
getTime in interface java.sql.CallableStatement

getTimestamp

public java.sql.Timestamp getTimestamp(int parameterIndex,
                                       java.util.Calendar cal)
                                throws java.sql.SQLException
Description copied from interface: java.sql.CallableStatement
This method returns the value of the specified parameter as a Java java.sql.Timestamp.

Specified by:
getTimestamp in interface java.sql.CallableStatement

wasNull

public boolean wasNull()
                throws java.sql.SQLException
Description copied from interface: java.sql.CallableStatement
This method tests whether the value of the last parameter that was fetched was actually a SQL NULL value.

Specified by:
wasNull in interface java.sql.CallableStatement

registerOutParameter

public void registerOutParameter(int paramIndex,
                                 int sqlType,
                                 java.lang.String typeName)
                          throws java.sql.SQLException
Description copied from interface: java.sql.CallableStatement
This method registers the specified parameter as an output parameter of the specified SQL type.

Specified by:
registerOutParameter in interface java.sql.CallableStatement

registerOutParameter

public void registerOutParameter(int parameterIndex,
                                 int sqlType)
                          throws java.sql.SQLException
Description copied from interface: java.sql.CallableStatement
This method registers the specified parameter as an output parameter of the specified SQL type.

Specified by:
registerOutParameter in interface java.sql.CallableStatement

registerOutParameter

public void registerOutParameter(int parameterIndex,
                                 int sqlType,
                                 int scale)
                          throws java.sql.SQLException
Description copied from interface: java.sql.CallableStatement
This method registers the specified parameter as an output parameter of the specified SQL type and scale.

Specified by:
registerOutParameter in interface java.sql.CallableStatement

getArray

public java.sql.Array getArray(java.lang.String str)
                        throws java.sql.SQLException
Description copied from interface: java.sql.CallableStatement
This method returns the value of the specified parameter as a Java Array.

Specified by:
getArray in interface java.sql.CallableStatement

getBigDecimal

public java.math.BigDecimal getBigDecimal(java.lang.String str)
                                   throws java.sql.SQLException
Description copied from interface: java.sql.CallableStatement
This method returns the value of the specified parameter as a Java BigDecimal.

Specified by:
getBigDecimal in interface java.sql.CallableStatement

getBlob

public java.sql.Blob getBlob(java.lang.String str)
                      throws java.sql.SQLException
Description copied from interface: java.sql.CallableStatement
This method returns the value of the specified parameter as a Java Blob.

Specified by:
getBlob in interface java.sql.CallableStatement

getBoolean

public boolean getBoolean(java.lang.String str)
                   throws java.sql.SQLException
Description copied from interface: java.sql.CallableStatement
This method returns the value of the specified parameter as a Java boolean.

Specified by:
getBoolean in interface java.sql.CallableStatement

getByte

public byte getByte(java.lang.String str)
             throws java.sql.SQLException
Description copied from interface: java.sql.CallableStatement
This method returns the value of the specified parameter as a Java byte.

Specified by:
getByte in interface java.sql.CallableStatement

getBytes

public byte[] getBytes(java.lang.String str)
                throws java.sql.SQLException
Description copied from interface: java.sql.CallableStatement
This method returns the value of the specified parameter as a Java byte array.

Specified by:
getBytes in interface java.sql.CallableStatement

getClob

public java.sql.Clob getClob(java.lang.String str)
                      throws java.sql.SQLException
Description copied from interface: java.sql.CallableStatement
This method returns the value of the specified parameter as a Java Clob.

Specified by:
getClob in interface java.sql.CallableStatement

getDate

public java.sql.Date getDate(java.lang.String str)
                      throws java.sql.SQLException
Description copied from interface: java.sql.CallableStatement
This method returns the value of the specified parameter as a Java java.sql.Date.

Specified by:
getDate in interface java.sql.CallableStatement

getDate

public java.sql.Date getDate(java.lang.String str,
                             java.util.Calendar calendar)
                      throws java.sql.SQLException
Description copied from interface: java.sql.CallableStatement
This method returns the value of the specified parameter as a Java java.sql.Date.

Specified by:
getDate in interface java.sql.CallableStatement

getDouble

public double getDouble(java.lang.String str)
                 throws java.sql.SQLException
Description copied from interface: java.sql.CallableStatement
This method returns the value of the specified parameter as a Java double.

Specified by:
getDouble in interface java.sql.CallableStatement

getFloat

public float getFloat(java.lang.String str)
               throws java.sql.SQLException
Description copied from interface: java.sql.CallableStatement
This method returns the value of the specified parameter as a Java float.

Specified by:
getFloat in interface java.sql.CallableStatement

getInt

public int getInt(java.lang.String str)
           throws java.sql.SQLException
Description copied from interface: java.sql.CallableStatement
This method returns the value of the specified parameter as a Java int.

Specified by:
getInt in interface java.sql.CallableStatement

getLong

public long getLong(java.lang.String str)
             throws java.sql.SQLException
Description copied from interface: java.sql.CallableStatement
This method returns the value of the specified parameter as a Java long.

Specified by:
getLong in interface java.sql.CallableStatement

getObject

public java.lang.Object getObject(java.lang.String str)
                           throws java.sql.SQLException
Description copied from interface: java.sql.CallableStatement
This method returns the value of the specified parameter as a Java Object.

Specified by:
getObject in interface java.sql.CallableStatement

getObject

public java.lang.Object getObject(java.lang.String str,
                                  java.util.Map map)
                           throws java.sql.SQLException
Description copied from interface: java.sql.CallableStatement
This method returns the value of the specified parameter as a Java Object using the specified mapping for conversion from SQL to Java types.

Specified by:
getObject in interface java.sql.CallableStatement

getRef

public java.sql.Ref getRef(java.lang.String str)
                    throws java.sql.SQLException
Description copied from interface: java.sql.CallableStatement
This method returns the value of the specified parameter as a Java Ref.

Specified by:
getRef in interface java.sql.CallableStatement

getShort

public short getShort(java.lang.String str)
               throws java.sql.SQLException
Description copied from interface: java.sql.CallableStatement
This method returns the value of the specified parameter as a Java short.

Specified by:
getShort in interface java.sql.CallableStatement

getString

public java.lang.String getString(java.lang.String str)
                           throws java.sql.SQLException
Description copied from interface: java.sql.CallableStatement
This method returns the value of the specified parameter as a Java String.

Specified by:
getString in interface java.sql.CallableStatement

getTime

public java.sql.Time getTime(java.lang.String str)
                      throws java.sql.SQLException
Description copied from interface: java.sql.CallableStatement
This method returns the value of the specified parameter as a Java java.sql.Time.

Specified by:
getTime in interface java.sql.CallableStatement

getTime

public java.sql.Time getTime(java.lang.String str,
                             java.util.Calendar calendar)
                      throws java.sql.SQLException
Description copied from interface: java.sql.CallableStatement
This method returns the value of the specified parameter as a Java java.sql.Time.

Specified by:
getTime in interface java.sql.CallableStatement

getTimestamp

public java.sql.Timestamp getTimestamp(java.lang.String str)
                                throws java.sql.SQLException
Description copied from interface: java.sql.CallableStatement
This method returns the value of the specified parameter as a Java java.sql.Timestamp.

Specified by:
getTimestamp in interface java.sql.CallableStatement

getTimestamp

public java.sql.Timestamp getTimestamp(java.lang.String str,
                                       java.util.Calendar calendar)
                                throws java.sql.SQLException
Description copied from interface: java.sql.CallableStatement
This method returns the value of the specified parameter as a Java java.sql.Timestamp.

Specified by:
getTimestamp in interface java.sql.CallableStatement

getURL

public java.net.URL getURL(int param)
                    throws java.sql.SQLException
Description copied from interface: java.sql.CallableStatement
This method returns the value of the specified parameter as a Java java.net.URL.

Specified by:
getURL in interface java.sql.CallableStatement

getURL

public java.net.URL getURL(java.lang.String str)
                    throws java.sql.SQLException
Description copied from interface: java.sql.CallableStatement
This method returns the value of the specified parameter as a Java java.net.URL.

Specified by:
getURL in interface java.sql.CallableStatement

registerOutParameter

public void registerOutParameter(java.lang.String str,
                                 int param)
                          throws java.sql.SQLException
Description copied from interface: java.sql.CallableStatement
This method registers the specified parameter as an output parameter of the specified SQL type.

Specified by:
registerOutParameter in interface java.sql.CallableStatement

registerOutParameter

public void registerOutParameter(java.lang.String str,
                                 int param,
                                 int param2)
                          throws java.sql.SQLException
Description copied from interface: java.sql.CallableStatement
This method registers the specified parameter as an output parameter of the specified SQL type. This version of registerOutParameter is used for NUMERIC or DECIMAL types.

Specified by:
registerOutParameter in interface java.sql.CallableStatement

registerOutParameter

public void registerOutParameter(java.lang.String str,
                                 int param,
                                 java.lang.String str2)
                          throws java.sql.SQLException
Description copied from interface: java.sql.CallableStatement
This method registers the specified parameter as an output parameter of the specified SQL type. This version of registerOutParameter is used for user-named or REF types. If the type of the output parameter does not have such a type, the typeName argument is ignored.

Specified by:
registerOutParameter in interface java.sql.CallableStatement

setAsciiStream

public void setAsciiStream(java.lang.String str,
                           java.io.InputStream inputStream,
                           int param)
                    throws java.sql.SQLException
Description copied from interface: java.sql.CallableStatement
This method sets the specified parameter from the given Java ASCII InputStream value.

Specified by:
setAsciiStream in interface java.sql.CallableStatement

setBigDecimal

public void setBigDecimal(java.lang.String str,
                          java.math.BigDecimal bigDecimal)
                   throws java.sql.SQLException
Description copied from interface: java.sql.CallableStatement
This method sets the specified parameter from the given Java BigDecimal value.

Specified by:
setBigDecimal in interface java.sql.CallableStatement

setBinaryStream

public void setBinaryStream(java.lang.String str,
                            java.io.InputStream inputStream,
                            int param)
                     throws java.sql.SQLException
Description copied from interface: java.sql.CallableStatement
This method sets the specified parameter from the given Java binary InputStream value.

Specified by:
setBinaryStream in interface java.sql.CallableStatement

setBoolean

public void setBoolean(java.lang.String str,
                       boolean param)
                throws java.sql.SQLException
Description copied from interface: java.sql.CallableStatement
This method sets the specified parameter from the given Java boolean value.

Specified by:
setBoolean in interface java.sql.CallableStatement

setByte

public void setByte(java.lang.String str,
                    byte param)
             throws java.sql.SQLException
Description copied from interface: java.sql.CallableStatement
This method sets the specified parameter from the given Java byte value.

Specified by:
setByte in interface java.sql.CallableStatement

setBytes

public void setBytes(java.lang.String str,
                     byte[] values)
              throws java.sql.SQLException
Description copied from interface: java.sql.CallableStatement
This method sets the specified parameter from the given Java byte array value.

Specified by:
setBytes in interface java.sql.CallableStatement

setCharacterStream

public void setCharacterStream(java.lang.String str,
                               java.io.Reader reader,
                               int param)
                        throws java.sql.SQLException
Description copied from interface: java.sql.CallableStatement
This method sets the specified parameter from the given Java character Reader value.

Specified by:
setCharacterStream in interface java.sql.CallableStatement

setDate

public void setDate(java.lang.String str,
                    java.sql.Date date)
             throws java.sql.SQLException
Description copied from interface: java.sql.CallableStatement
This method sets the specified parameter from the given Java java.sql.Date value.

Specified by:
setDate in interface java.sql.CallableStatement

setDate

public void setDate(java.lang.String str,
                    java.sql.Date date,
                    java.util.Calendar calendar)
             throws java.sql.SQLException
Description copied from interface: java.sql.CallableStatement
This method sets the specified parameter from the given Java java.sql.Date value.

Specified by:
setDate in interface java.sql.CallableStatement

setDouble

public void setDouble(java.lang.String str,
                      double param)
               throws java.sql.SQLException
Description copied from interface: java.sql.CallableStatement
This method sets the specified parameter from the given Java double value.

Specified by:
setDouble in interface java.sql.CallableStatement

setFloat

public void setFloat(java.lang.String str,
                     float param)
              throws java.sql.SQLException
Description copied from interface: java.sql.CallableStatement
This method sets the specified parameter from the given Java float value.

Specified by:
setFloat in interface java.sql.CallableStatement

setInt

public void setInt(java.lang.String str,
                   int param)
            throws java.sql.SQLException
Description copied from interface: java.sql.CallableStatement
This method sets the specified parameter from the given Java int value.

Specified by:
setInt in interface java.sql.CallableStatement

setLong

public void setLong(java.lang.String str,
                    long param)
             throws java.sql.SQLException
Description copied from interface: java.sql.CallableStatement
This method sets the specified parameter from the given Java long value.

Specified by:
setLong in interface java.sql.CallableStatement

setNull

public void setNull(java.lang.String str,
                    int param)
             throws java.sql.SQLException
Description copied from interface: java.sql.CallableStatement
This method populates the specified parameter with a SQL NULL value for the specified type.

Specified by:
setNull in interface java.sql.CallableStatement

setNull

public void setNull(java.lang.String str,
                    int param,
                    java.lang.String str2)
             throws java.sql.SQLException
Description copied from interface: java.sql.CallableStatement
This method populates the specified parameter with a SQL NULL value for the specified type.

Specified by:
setNull in interface java.sql.CallableStatement

setObject

public void setObject(java.lang.String str,
                      java.lang.Object obj)
               throws java.sql.SQLException
Description copied from interface: java.sql.CallableStatement
This method sets the specified parameter from the given Java Object value. The default object type to SQL type mapping will be used.

Specified by:
setObject in interfa