com.sybase.jdbcx
Interface SybCallableStatement


public abstract interface SybCallableStatement
extends CallableStatement, SybPreparedStatement

Sybase implementation of the CallableStatement interface.

Currently, the only method on this interface is Sybase-specific, and there are no known plans of incorporating this functionality into the JDBC API.

See Also:
CallableStatement, Connection.prepareCall(java.lang.String), ResultSet

Method Summary
 BigDecimal getBigDecimal(int paramIndex)
          JDBC 2.0 feature - Returns same scale as was sent from database, avoids the performance cost of rescaling.
 void setParameterName(int index, String name)
          Sets the name of the parameter at the specified index to name.
 
Methods inherited from interface java.sql.CallableStatement
getArray, getBigDecimal, getBlob, getBoolean, getByte, getBytes, getClob, getDate, getDate, getDouble, getFloat, getInt, getLong, getObject, getObject, getRef, getShort, getString, getTime, getTime, getTimestamp, getTimestamp, registerOutParameter, registerOutParameter, registerOutParameter, wasNull
 
Methods inherited from interface com.sybase.jdbcx.SybPreparedStatement
setBigDecimal
 
Methods inherited from interface com.sybase.jdbcx.SybStatement
getSybMessageHandler, setSybMessageHandler
 

Method Detail

setParameterName

public void setParameterName(int index,
                             String name)
Sets the name of the parameter at the specified index to name. This is typically used when an RPC takes optional parameters to differentiate one parameter from another.
Parameters:
index - which parameter to access
name - the new name for that parameter

getBigDecimal

public BigDecimal getBigDecimal(int paramIndex)
                                   throws SQLException
JDBC 2.0 feature - Returns same scale as was sent from database, avoids the performance cost of rescaling.
Specified by:
getBigDecimal in interface CallableStatement
See Also:
CallableStatement.getBigDecimal(int)