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

Quick Search    Search Deep

org.apache.derby.impl.jdbc
Class EmbedCallableStatement20  view EmbedCallableStatement20 download EmbedCallableStatement20.java

java.lang.Object
  extended byorg.apache.derby.impl.jdbc.ConnectionChild
      extended byorg.apache.derby.impl.jdbc.EmbedStatement
          extended byorg.apache.derby.impl.jdbc.EmbedPreparedStatement
              extended byorg.apache.derby.impl.jdbc.EmbedCallableStatement
                  extended byorg.apache.derby.impl.jdbc.EmbedCallableStatement20
All Implemented Interfaces:
java.sql.CallableStatement, java.sql.PreparedStatement, java.sql.Statement
Direct Known Subclasses:
EmbedCallableStatement30

public class EmbedCallableStatement20
extends EmbedCallableStatement

This class extends the EmbedCallableStatement class in order to support new methods and classes that come with JDBC 2.0.


Field Summary
 
Fields inherited from class org.apache.derby.impl.jdbc.EmbedCallableStatement
wasNull
 
Fields inherited from class org.apache.derby.impl.jdbc.EmbedPreparedStatement
preparedStatement, rMetaData
 
Fields inherited from class org.apache.derby.impl.jdbc.EmbedStatement
active, batchStatements, CLOSE, cursorName, factory, forMetaData, lcc, localConn, MaxFieldSize, maxRows, NOCLOSE, results, resultSetConcurrency, resultSetHoldability, resultSetType, SQLText, 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
EmbedCallableStatement20(EmbedConnection conn, java.lang.String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability)
           
 
Method Summary
 java.sql.Array getArray(int i)
          JDBC 2.0 Get an Array OUT parameter.
 java.sql.Array getArray(java.lang.String parameterName)
          JDBC 3.0 Retrieves the value of a JDBC ARRAY parameter as an Array object in the Java programming language.
 java.math.BigDecimal getBigDecimal(int parameterIndex)
          JDBC 2.0 Get the value of a NUMERIC parameter as a java.math.BigDecimal object.
 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 parameterName)
          JDBC 3.0 Retrieves the value of a JDBC NUMERIC parameter as a java.math.BigDecimal object with as many digits to the right of the decimal point as the value contains
 java.sql.Blob getBlob(java.lang.String parameterName)
          JDBC 3.0 Retrieves the value of a JDBC BLOB parameter as a Blob object in the Java programming language.
 boolean getBoolean(java.lang.String parameterName)
          JDBC 3.0 Retrieves the value of a JDBC BIT parameter as a boolean in the Java programming language.
 byte getByte(java.lang.String parameterName)
          JDBC 3.0 Retrieves the value of a JDBC TINYINT parameter as a byte in the Java programming language.
 byte[] getBytes(java.lang.String parameterName)
          JDBC 3.0 Retrieves the value of a JDBC BINARY or VARBINARY parameter as an array of byte values in the Java programming language.
 java.sql.Clob getClob(java.lang.String parameterName)
          JDBC 3.0 Retrieves the value of a JDBC CLOB parameter as a Clob object in the Java programming language.
 java.sql.Date getDate(java.lang.String parameterName)
          JDBC 3.0 Retrieves the value of a JDBC DATE parameter as ajava.sql.Date object
 java.sql.Date getDate(java.lang.String parameterName, java.util.Calendar cal)
          JDBC 3.0 Retrieves the value of a JDBC DATE parameter as a java.sql.Date object, using the given Calendar object to construct the date object.
 double getDouble(java.lang.String parameterName)
          JDBC 3.0 Retrieves the value of a JDBC DOUBLE parameter as a double in the Java programming language.
 float getFloat(java.lang.String parameterName)
          JDBC 3.0 Retrieves the value of a JDBC FLOAT parameter as a float in the Java programming language.
 int getInt(java.lang.String parameterName)
          JDBC 3.0 Retrieves the value of a JDBC INTEGER parameter as a int in the Java programming language.
 long getLong(java.lang.String parameterName)
          JDBC 3.0 Retrieves the value of a JDBC BIGINT parameter as a long in the Java programming language.
 java.lang.Object getObject(int i, java.util.Map map)
          JDBC 2.0 Returns an object representing the value of OUT parameter @i.
 java.lang.Object getObject(java.lang.String parameterName)
          JDBC 3.0 Retrieves the value of a parameter as an Object in the java programming language.
 java.lang.Object getObject(java.lang.String parameterName, java.util.Map map)
          JDBC 3.0 Returns an object representing the value of OUT parameter i and uses map for the custom mapping of the parameter value.
 java.sql.Ref getRef(int i)
          JDBC 2.0 Get a REF(<structured-type>) OUT parameter.
 java.sql.Ref getRef(java.lang.String parameterName)
          JDBC 3.0 Retrieves the value of a JDBC REF (
 short getShort(java.lang.String parameterName)
          JDBC 3.0 Retrieves the value of a JDBC SMALLINT parameter as a short in the Java programming language.
 java.lang.String getString(java.lang.String parameterName)
          JDBC 3.0 Retrieves the value of a JDBC CHAR, VARCHAR, or LONGVARCHAR parameter as a String in the Java programming language.
 java.sql.Time getTime(java.lang.String parameterName)
          JDBC 3.0 Retrieves the value of a JDBC TIME parameter as ajava.sql.Time object
 java.sql.Time getTime(java.lang.String parameterName, java.util.Calendar cal)
          JDBC 3.0 Retrieves the value of a JDBC TIME parameter as a java.sql.Time object, using the given Calendar object to construct the time object.
 java.sql.Timestamp getTimestamp(java.lang.String parameterName)
          JDBC 3.0 Retrieves the value of a JDBC TIMESTAMP parameter as a java.sql.Timestamp object
 java.sql.Timestamp getTimestamp(java.lang.String parameterName, java.util.Calendar cal)
          JDBC 3.0 Retrieves the value of a JDBC TIMESTAMP parameter as a java.sql.Timestamp object, using the given Calendar object to construct the Timestamp object.
 void registerOutParameter(java.lang.String parameterName, int sqlType)
          JDBC 3.0 Registers the OUT parameter named parameterName to the JDBC type sqlType.
 void registerOutParameter(java.lang.String parameterName, int sqlType, int scale)
          JDBC 3.0 Registers the parameter named parameterName to the JDBC type sqlType.
 void registerOutParameter(java.lang.String parameterName, int sqlType, java.lang.String typeName)
          JDBC 3.0 Registers the designated output parameter.
 void setArray(int i, java.sql.Array x)
          JDBC 2.0 Set an Array parameter.
 void setAsciiStream(java.lang.String parameterName, java.io.InputStream x, int length)
          JDBC 3.0 Sets the designated parameter to the given input stream, which will have the specified number of bytes.
 void setBigDecimal(int parameterIndex, java.math.BigDecimal x)
          Set a parameter to a java.lang.BigDecimal value.
 void setBigDecimal(java.lang.String parameterName, java.math.BigDecimal x)
          JDBC 3.0 Sets the designated parameter to the given java.math.BigDecimal value.
 void setBinaryStream(java.lang.String parameterName, java.io.InputStream x, int length)
          JDBC 3.0 Sets the designated parameter to the given input stream, which will have the specified number of bytes.
 void setBoolean(java.lang.String parameterName, boolean x)
          JDBC 3.0 Sets the designated parameter to the given Java boolean value.
 void setByte(java.lang.String parameterName, byte x)
          JDBC 3.0 Sets the designated parameter to the given Java byte value.
 void setBytes(java.lang.String parameterName, byte[] x)
          JDBC 3.0 Sets the designated parameter to the given Java array of bytes.
 void setCharacterStream(java.lang.String parameterName, java.io.Reader reader, int length)
          JDBC 3.0 Sets the designated parameter to the given Reader object, which is the given number of characters long.
 void setDate(java.lang.String parameterName, java.sql.Date x)
          JDBC 3.0 Sets the designated parameter to the given java.sql.Date value.
 void setDate(java.lang.String parameterName, java.sql.Date x, java.util.Calendar cal)
          JDBC 3.0 Sets the designated parameter to the given java.sql.Date value, using the given Calendar object.
 void setDouble(java.lang.String parameterName, double x)
          JDBC 3.0 Sets the designated parameter to the given Java double value.
 void setFloat(java.lang.String parameterName, float x)
          JDBC 3.0 Sets the designated parameter to the given Java float value.
 void setInt(java.lang.String parameterName, int x)
          JDBC 3.0 Sets the designated parameter to the given Java int value.
 void setLong(java.lang.String parameterName, long x)
          JDBC 3.0 Sets the designated parameter to the given Java long value.
 void setNull(java.lang.String parameterName, int sqlType)
          JDBC 3.0 Sets the designated parameter to SQL NULL.
 void setNull(java.lang.String parameterName, int sqlType, java.lang.String typeName)
          JDBC 3.0 Sets the designated parameter to SQL NULL.
 void setObject(java.lang.String parameterName, java.lang.Object x)
          JDBC 3.0 Sets the value of the designated parameter with the given object.
 void setObject(java.lang.String parameterName, java.lang.Object x, int targetSqlType)
          JDBC 3.0 Sets the value of the designated parameter with the given object.
 void setObject(java.lang.String parameterName, java.lang.Object x, int targetSqlType, int scale)
          JDBC 3.0 Sets the value of the designated parameter with the given object.
(package private)  boolean setObjectConvert(int parameterIndex, java.lang.Object x)
          Allow explict setObject conversions by sub-classes for classes not supported by this variant.
 void setRef(int i, java.sql.Ref x)
          JDBC 2.0 Set a REF(<structured-type>) parameter.
 void setShort(java.lang.String parameterName, short x)
          JDBC 3.0 Sets the designated parameter to the given Java short value.
 void setString(java.lang.String parameterName, java.lang.String x)
          JDBC 3.0 Sets the designated parameter to the given Java String value.
 void setTime(java.lang.String parameterName, java.sql.Time x)
          JDBC 3.0 Sets the designated parameter to the given java.sql.Time value.
 void setTime(java.lang.String parameterName, java.sql.Time x, java.util.Calendar cal)
          JDBC 3.0 Sets the designated parameter to the given java.sql.Time value using the Calendar object
 void setTimestamp(java.lang.String parameterName, java.sql.Timestamp x)
          JDBC 3.0 Sets the designated parameter to the given java.sql.Timestamp value.
 void setTimestamp(java.lang.String parameterName, java.sql.Timestamp x, java.util.Calendar cal)
          JDBC 3.0 Sets the designated parameter to the given java.sql.Timestamp value, using the given Calendar object
 
Methods inherited from class org.apache.derby.impl.jdbc.EmbedCallableStatement
addBatch, checkRequiresCallableStatement, executeStatement, getBlob, getBoolean, getByte, getBytes, getClob, getDate, getDate, getDouble, getFloat, getInt, getLong, getObject, getShort, getString, getTime, getTime, getTimestamp, getTimestamp, getURL, getURL, registerOutParameter, registerOutParameter, registerOutParameter, setURL, wasNull
 
Methods inherited from class org.apache.derby.impl.jdbc.EmbedPreparedStatement
addBatch, clearParameters, closeActions, dataTypeConversion, execute, execute, execute, execute, execute, executeBatchElement, executeQuery, executeQuery, executeUpdate, executeUpdate, executeUpdate, executeUpdate, executeUpdate, finalize, getEmbedParameterSetMetaData, getMetaData, getParameterJDBCType, getParms, getTypes, newEmbedResultSetMetaData, setAsciiStream, setBinaryStream, setBinaryStreamInternal, setBlob, setBoolean, setByte, setBytes, setCharacterStream, setCharacterStreamInternal, setClob, setDate, setDate, setDouble, setFloat, setInt, setLong, setNull, setNull, setObject, setObject, setObject, setShort, setString, setTime, setTime, setTimestamp, setTimestamp, setUnicodeStream, setURL, toString, transferParameters
 
Methods inherited from class org.apache.derby.impl.jdbc.EmbedStatement
cancel, checkExecStatus, checkIfInMiddleOfBatch, checkStatus, clearBatch, clearResultSets, clearWarnings, close, commitIfAutoCommit, commitIfNeeded, execute, executeBatch, getCal, getConnection, getConnectionSynchronization, getContextManager, getDatabase, getEmbedConnection, getFetchDirection, getFetchSize, getGeneratedKeys, getMaxFieldSize, getMaxRows, getMoreResults, getMoreResults, getParameterValueSet, getQueryTimeout, getResultSet, getResultSetConcurrency, getResultSetHoldability, getResultSetType, getSQLText, getUpdateCount, getWarnings, getWarnings, handleException, handleException, needCommit, newSQLException, newSQLException, newSQLException, restoreContextStack, resultSetClosing, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setMaxFieldSize, setMaxRows, setQueryTimeout, setupContextStack, transferBatch
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.sql.PreparedStatement
clearParameters, execute, executeQuery, executeUpdate, getMetaData, getParameterMetaData, setAsciiStream, setBinaryStream, setBlob, setBoolean, setByte, setBytes, setCharacterStream, setClob, setDate, setDate, setDouble, setFloat, setInt, setLong, setNull, setNull, setObject, setObject, setObject, 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

EmbedCallableStatement20

public EmbedCallableStatement20(EmbedConnection conn,
                                java.lang.String sql,
                                int resultSetType,
                                int resultSetConcurrency,
                                int resultSetHoldability)
                         throws java.sql.SQLException
Method Detail

getBigDecimal

public java.math.BigDecimal getBigDecimal(int parameterIndex)
                                   throws java.sql.SQLException
JDBC 2.0 Get the value of a NUMERIC parameter as a java.math.BigDecimal object.


getObject

public java.lang.Object getObject(int i,
                                  java.util.Map map)
                           throws java.sql.SQLException
JDBC 2.0 Returns an object representing the value of OUT parameter @i. Use the @map to determine the class from which to construct data of SQL structured and distinct types.


getRef

public java.sql.Ref getRef(int i)
                    throws java.sql.SQLException
JDBC 2.0 Get a REF(<structured-type>) OUT parameter.


getArray

public java.sql.Array getArray(int i)
                        throws java.sql.SQLException
JDBC 2.0 Get an Array OUT parameter.


setRef

public void setRef(int i,
                   java.sql.Ref x)
            throws java.sql.SQLException
JDBC 2.0 Set a REF(<structured-type>) parameter.


setArray

public void setArray(int i,
                     java.sql.Array x)
              throws java.sql.SQLException
JDBC 2.0 Set an Array parameter.


registerOutParameter

public void registerOutParameter(java.lang.String parameterName,
                                 int sqlType)
                          throws java.sql.SQLException
JDBC 3.0 Registers the OUT parameter named parameterName to the JDBC type sqlType. All OUT parameters must be registered before a stored procedure is executed.


registerOutParameter

public void registerOutParameter(java.lang.String parameterName,
                                 int sqlType,
                                 java.lang.String typeName)
                          throws java.sql.SQLException
JDBC 3.0 Registers the designated output parameter. This version of the method registerOutParameter should be used for a user-named or REF output parameter.


registerOutParameter

public void registerOutParameter(java.lang.String parameterName,
                                 int sqlType,
                                 int scale)
                          throws java.sql.SQLException
JDBC 3.0 Registers the parameter named parameterName to the JDBC type sqlType. This method must be called before a stored procedure is executed.


getRef

public java.sql.Ref getRef(java.lang.String parameterName)
                    throws java.sql.SQLException
JDBC 3.0 Retrieves the value of a JDBC REF (

getBlob

public java.sql.Blob getBlob(java.lang.String parameterName)
                      throws java.sql.SQLException
JDBC 3.0 Retrieves the value of a JDBC BLOB parameter as a Blob object in the Java programming language.


getClob

public java.sql.Clob getClob(java.lang.String parameterName)
                      throws java.sql.SQLException
JDBC 3.0 Retrieves the value of a JDBC CLOB parameter as a Clob object in the Java programming language.


getArray

public java.sql.Array getArray(java.lang.String parameterName)
                        throws java.sql.SQLException
JDBC 3.0 Retrieves the value of a JDBC ARRAY parameter as an Array object in the Java programming language.


setNull

public void setNull(java.lang.String parameterName,
                    int sqlType)
             throws java.sql.SQLException
JDBC 3.0 Sets the designated parameter to SQL NULL.


setNull

public void setNull(java.lang.String parameterName,
                    int sqlType,
                    java.lang.String typeName)
             throws java.sql.SQLException
JDBC 3.0 Sets the designated parameter to SQL NULL.


setBoolean

public void setBoolean(java.lang.String parameterName,
                       boolean x)
                throws java.sql.SQLException
JDBC 3.0 Sets the designated parameter to the given Java boolean value. The driver converts this to an SQL BIT value when it sends it to the database.


getBoolean

public boolean getBoolean(java.lang.String parameterName)
                   throws java.sql.SQLException
JDBC 3.0 Retrieves the value of a JDBC BIT parameter as a boolean in the Java programming language.


setByte

public void setByte(java.lang.String parameterName,
                    byte x)
             throws java.sql.SQLException
JDBC 3.0 Sets the designated parameter to the given Java byte value. The driver converts this to an SQL TINYINT value when it sends it to the database.


getByte

public byte getByte(java.lang.String parameterName)
             throws java.sql.SQLException
JDBC 3.0 Retrieves the value of a JDBC TINYINT parameter as a byte in the Java programming language.


setShort

public void setShort(java.lang.String parameterName,
                     short x)
              throws java.sql.SQLException
JDBC 3.0 Sets the designated parameter to the given Java short value. The driver converts this to an SQL SMALLINT value when it sends it to the database.


getShort

public short getShort(java.lang.String parameterName)
               throws java.sql.SQLException
JDBC 3.0 Retrieves the value of a JDBC SMALLINT parameter as a short in the Java programming language.


setInt

public void setInt(java.lang.String parameterName,
                   int x)
            throws java.sql.SQLException
JDBC 3.0 Sets the designated parameter to the given Java int value. The driver converts this to an SQL INTEGER value when it sends it to the database.


getInt

public int getInt(java.lang.String parameterName)
           throws java.sql.SQLException
JDBC 3.0 Retrieves the value of a JDBC INTEGER parameter as a int in the Java programming language.


setLong

public void setLong(java.lang.String parameterName,
                    long x)
             throws java.sql.SQLException
JDBC 3.0 Sets the designated parameter to the given Java long value. The driver converts this to an SQL BIGINT value when it sends it to the database.


getLong

public long getLong(java.lang.String parameterName)
             throws java.sql.SQLException
JDBC 3.0 Retrieves the value of a JDBC BIGINT parameter as a long in the Java programming language.


setFloat

public void setFloat(java.lang.String parameterName,
                     float x)
              throws java.sql.SQLException
JDBC 3.0 Sets the designated parameter to the given Java float value. The driver converts this to an SQL FLOAT value when it sends it to the database.


getFloat

public float getFloat(java.lang.String parameterName)
               throws java.sql.SQLException
JDBC 3.0 Retrieves the value of a JDBC FLOAT parameter as a float in the Java programming language.


setDouble

public void setDouble(java.lang.String parameterName,
                      double x)
               throws java.sql.SQLException
JDBC 3.0 Sets the designated parameter to the given Java double value. The driver converts this to an SQL DOUBLE value when it sends it to the database.


getDouble

public double getDouble(java.lang.String parameterName)
                 throws java.sql.SQLException
JDBC 3.0 Retrieves the value of a JDBC DOUBLE parameter as a double in the Java programming language.


setBigDecimal

public void setBigDecimal(java.lang.String parameterName,
                          java.math.BigDecimal x)
                   throws java.sql.SQLException
JDBC 3.0 Sets the designated parameter to the given java.math.BigDecimal value. The driver converts this to an SQL NUMERIC value when it sends it to the database.


getBigDecimal

public java.math.BigDecimal getBigDecimal(java.lang.String parameterName)
                                   throws java.sql.SQLException
JDBC 3.0 Retrieves the value of a JDBC NUMERIC parameter as a java.math.BigDecimal object with as many digits to the right of the decimal point as the value contains


setString

public void setString(java.lang.String parameterName,
                      java.lang.String x)
               throws java.sql.SQLException
JDBC 3.0 Sets the designated parameter to the given Java String value. The driver converts this to an SQL VARCHAR OR LONGVARCHAR value (depending on the argument's size relative the driver's limits on VARCHAR values) when it sends it to the database.


getString

public java.lang.String getString(java.lang.String parameterName)
                           throws java.sql.SQLException
JDBC 3.0 Retrieves the value of a JDBC CHAR, VARCHAR, or LONGVARCHAR parameter as a String in the Java programming language.


setBytes

public void setBytes(java.lang.String parameterName,
                     byte[] x)
              throws java.sql.SQLException
JDBC 3.0 Sets the designated parameter to the given Java array of bytes. The driver converts this to an SQL VARBINARY OR LONGVARBINARY (depending on the argument's size relative to the driver's limits on VARBINARY values)when it sends it to the database.


getBytes

public byte[] getBytes(java.lang.String parameterName)
                throws java.sql.SQLException
JDBC 3.0 Retrieves the value of a JDBC BINARY or VARBINARY parameter as an array of byte values in the Java programming language.


setDate

public void setDate(java.lang.String parameterName,
                    java.sql.Date x)
             throws java.sql.SQLException
JDBC 3.0 Sets the designated parameter to the given java.sql.Date value. The driver converts this to an SQL DATE value when it sends it to the database.


setDate

public void setDate(java.lang.String parameterName,
                    java.sql.Date x,
                    java.util.Calendar cal)
             throws java.sql.SQLException
JDBC 3.0 Sets the designated parameter to the given java.sql.Date value, using the given Calendar object.


getDate

public java.sql.Date getDate(java.lang.String parameterName)
                      throws java.sql.SQLException
JDBC 3.0 Retrieves the value of a JDBC DATE parameter as ajava.sql.Date object


getDate

public java.sql.Date getDate(java.lang.String parameterName,
                             java.util.Calendar cal)
                      throws java.sql.SQLException
JDBC 3.0 Retrieves the value of a JDBC DATE parameter as a java.sql.Date object, using the given Calendar object to construct the date object.


setTime

public void setTime(java.lang.String parameterName,
                    java.sql.Time x)
             throws java.sql.SQLException
JDBC 3.0 Sets the designated parameter to the given java.sql.Time value. The driver converts this to an SQL TIME value when it sends it to the database.


getTime

public java.sql.Time getTime(java.lang.String parameterName)
                      throws java.sql.SQLException
JDBC 3.0 Retrieves the value of a JDBC TIME parameter as ajava.sql.Time object


getTime

public java.sql.Time getTime(java.lang.String parameterName,
                             java.util.Calendar cal)
                      throws java.sql.SQLException
JDBC 3.0 Retrieves the value of a JDBC TIME parameter as a java.sql.Time object, using the given Calendar object to construct the time object.


setTime

public void setTime(java.lang.String parameterName,
                    java.sql.Time x,
                    java.util.Calendar cal)
             throws java.sql.SQLException
JDBC 3.0 Sets the designated parameter to the given java.sql.Time value using the Calendar object


setTimestamp

public void setTimestamp(java.lang.String parameterName,
                         java.sql.Timestamp x)
                  throws java.sql.SQLException
JDBC 3.0 Sets the designated parameter to the given java.sql.Timestamp value. The driver converts this to an SQL TIMESTAMP value when it sends it to the database.


setTimestamp

public void setTimestamp(java.lang.String parameterName,
                         java.sql.Timestamp x,
                         java.util.Calendar cal)
                  throws java.sql.SQLException
JDBC 3.0 Sets the designated parameter to the given java.sql.Timestamp value, using the given Calendar object


getTimestamp

public java.sql.Timestamp getTimestamp(java.lang.String parameterName)
                                throws java.sql.SQLException
JDBC 3.0 Retrieves the value of a JDBC TIMESTAMP parameter as a java.sql.Timestamp object


getTimestamp

public java.sql.Timestamp getTimestamp(java.lang.String parameterName,
                                       java.util.Calendar cal)
                                throws java.sql.SQLException
JDBC 3.0 Retrieves the value of a JDBC TIMESTAMP parameter as a java.sql.Timestamp object, using the given Calendar object to construct the Timestamp object.


setAsciiStream

public void setAsciiStream(java.lang.String parameterName,
                           java.io.InputStream x,
                           int length)
                    throws java.sql.SQLException
JDBC 3.0 Sets the designated parameter to the given input stream, which will have the specified number of bytes.


setBinaryStream

public void setBinaryStream(java.lang.String parameterName,
                            java.io.InputStream x,
                            int length)
                     throws java.sql.SQLException
JDBC 3.0 Sets the designated parameter to the given input stream, which will have the specified number of bytes.


setCharacterStream

public void setCharacterStream(java.lang.String parameterName,
                               java.io.Reader reader,
                               int length)
                        throws java.sql.SQLException
JDBC 3.0 Sets the designated parameter to the given Reader object, which is the given number of characters long.


setObject

public void setObject(java.lang.String parameterName,
                      java.lang.Object x,
                      int targetSqlType,
                      int scale)
               throws java.sql.SQLException
JDBC 3.0 Sets the value of the designated parameter with the given object. The second argument must be an object type; for integral values, the java.lang equivalent objects should be used.


getObject

public java.lang.Object getObject(java.lang.String parameterName)
                           throws java.sql.SQLException
JDBC 3.0 Retrieves the value of a parameter as an Object in the java programming language.


getObject

public java.lang.Object getObject(java.lang.String parameterName,
                                  java.util.Map map)
                           throws java.sql.SQLException
JDBC 3.0 Returns an object representing the value of OUT parameter i and uses map for the custom mapping of the parameter value.


setObject

public void setObject(java.lang.String parameterName,
                      java.lang.Object x,
                      int targetSqlType)
               throws java.sql.SQLException
JDBC 3.0 Sets the value of the designated parameter with the given object. This method is like the method setObject above, except that it assumes a scale of zero.


setObject

public void setObject(java.lang.String parameterName,
                      java.lang.Object x)
               throws java.sql.SQLException
JDBC 3.0 Sets the value of the designated parameter with the given object. The second parameter must be of type Object; therefore, the java.lang equivalent objects should be used for built-in types.


setBigDecimal

public final void setBigDecimal(int parameterIndex,
                                java.math.BigDecimal x)
                         throws java.sql.SQLException
Set a parameter to a java.lang.BigDecimal value. The driver converts this to a SQL NUMERIC value when it sends it to the database.


getBigDecimal

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


setObjectConvert

boolean setObjectConvert(int parameterIndex,
                         java.lang.Object x)
                   throws java.sql.SQLException
Allow explict setObject conversions by sub-classes for classes not supported by this variant. In this case handle BigDecimal.

Overrides:
setObjectConvert in class EmbedPreparedStatement