com.ibm.jtopenlite.database.jdbc
Class JDBCCallableStatement
java.lang.Object
com.ibm.jtopenlite.database.jdbc.JDBCStatement
com.ibm.jtopenlite.database.jdbc.JDBCPreparedStatement
com.ibm.jtopenlite.database.jdbc.JDBCCallableStatement
- All Implemented Interfaces:
- DatabaseSQLCommunicationsAreaCallback, CallableStatement, PreparedStatement, Statement
public class JDBCCallableStatement
- extends JDBCPreparedStatement
- implements CallableStatement
|
Method Summary |
Array |
getArray(int i)
|
Array |
getArray(String parameterName)
|
BigDecimal |
getBigDecimal(int parameterIndex)
|
BigDecimal |
getBigDecimal(int parameterIndex,
int scale)
|
BigDecimal |
getBigDecimal(String parameterName)
|
Blob |
getBlob(int i)
|
Blob |
getBlob(String parameterName)
|
boolean |
getBoolean(int parameterIndex)
|
boolean |
getBoolean(String parameterName)
|
byte |
getByte(int parameterIndex)
|
byte |
getByte(String parameterName)
|
byte[] |
getBytes(int parameterIndex)
|
byte[] |
getBytes(String parameterName)
|
Reader |
getCharacterStream(int parm)
|
Reader |
getCharacterStream(String parm)
|
Clob |
getClob(int i)
|
Clob |
getClob(String parameterName)
|
Date |
getDate(int parameterIndex)
|
Date |
getDate(int parameterIndex,
Calendar cal)
|
Date |
getDate(String parameterName)
|
Date |
getDate(String parameterName,
Calendar cal)
|
double |
getDouble(int parameterIndex)
|
double |
getDouble(String parameterName)
|
float |
getFloat(int parameterIndex)
|
float |
getFloat(String parameterName)
|
int |
getInt(int parameterIndex)
|
int |
getInt(String parameterName)
|
long |
getLong(int parameterIndex)
|
long |
getLong(String parameterName)
|
Reader |
getNCharacterStream(int parm)
|
Reader |
getNCharacterStream(String parm)
|
String |
getNString(int parm)
|
String |
getNString(String parm)
|
Object |
getObject(int parameterIndex)
|
Object |
getObject(int i,
map)
|
Object |
getObject(String parameterName)
|
Object |
getObject(String parameterName,
map)
|
Ref |
getRef(int i)
|
Ref |
getRef(String parameterName)
|
short |
getShort(int parameterIndex)
|
short |
getShort(String parameterName)
|
String |
getString(int parameterIndex)
|
String |
getString(String parameterName)
|
Time |
getTime(int parameterIndex)
|
Time |
getTime(int parameterIndex,
Calendar cal)
|
Time |
getTime(String parameterName)
|
Time |
getTime(String parameterName,
Calendar cal)
|
Timestamp |
getTimestamp(int parameterIndex)
|
Timestamp |
getTimestamp(int parameterIndex,
Calendar cal)
|
Timestamp |
getTimestamp(String parameterName)
|
Timestamp |
getTimestamp(String parameterName,
Calendar cal)
|
URL |
getURL(int parameterIndex)
|
URL |
getURL(String parameterName)
|
void |
registerOutParameter(int parameterIndex,
int sqlType)
|
void |
registerOutParameter(int parameterIndex,
int sqlType,
int scale)
|
void |
registerOutParameter(int paramIndex,
int sqlType,
String typeName)
|
void |
registerOutParameter(String parameterName,
int sqlType)
|
void |
registerOutParameter(String parameterName,
int sqlType,
int scale)
|
void |
registerOutParameter(String parameterName,
int sqlType,
String typeName)
|
void |
setAsciiStream(String parm,
InputStream arg1)
|
void |
setAsciiStream(String parameterName,
InputStream x,
int length)
|
void |
setAsciiStream(String parm,
InputStream arg1,
long arg2)
|
void |
setBigDecimal(String parameterName,
BigDecimal x)
|
void |
setBinaryStream(String parm,
InputStream arg1)
|
void |
setBinaryStream(String parameterName,
InputStream x,
int length)
|
void |
setBinaryStream(String parm,
InputStream arg1,
long arg2)
|
void |
setBlob(String parm,
Blob arg1)
|
void |
setBlob(String parm,
InputStream arg1)
|
void |
setBlob(String parm,
InputStream arg1,
long arg2)
|
void |
setBoolean(String parameterName,
boolean x)
|
void |
setByte(String parameterName,
byte x)
|
void |
setBytes(String parameterName,
byte[] x)
|
void |
setCharacterStream(String parm,
Reader arg1)
|
void |
setCharacterStream(String parameterName,
Reader reader,
int length)
|
void |
setCharacterStream(String parm,
Reader arg1,
long arg2)
|
void |
setClob(String parm,
Clob arg1)
|
void |
setClob(String parm,
Reader arg1)
|
void |
setClob(String parm,
Reader arg1,
long arg2)
|
void |
setDate(String parameterName,
Date x)
|
void |
setDate(String parameterName,
Date x,
Calendar cal)
|
void |
setDouble(String parameterName,
double x)
|
void |
setFloat(String parameterName,
float x)
|
void |
setInt(String parameterName,
int x)
|
void |
setLong(String parameterName,
long x)
|
void |
setNCharacterStream(String parm,
Reader arg1)
|
void |
setNCharacterStream(String parm,
Reader arg1,
long arg2)
|
void |
setNClob(String parm,
Reader arg1)
|
void |
setNClob(String parm,
Reader arg1,
long arg2)
|
void |
setNString(String parm,
String arg1)
|
void |
setNull(String parameterName,
int sqlType)
|
void |
setNull(String parameterName,
int sqlType,
String typeName)
|
void |
setObject(String parameterName,
Object x)
|
void |
setObject(String parameterName,
Object x,
int targetSqlType)
|
void |
setObject(String parameterName,
Object x,
int targetSqlType,
int scale)
|
void |
setShort(String parameterName,
short x)
|
void |
setString(String parameterName,
String x)
|
void |
setTime(String parameterName,
Time x)
|
void |
setTime(String parameterName,
Time x,
Calendar cal)
|
void |
setTimestamp(String parameterName,
Timestamp x)
|
void |
setTimestamp(String parameterName,
Timestamp x,
Calendar cal)
|
void |
setURL(String parameterName,
URL val)
|
boolean |
wasNull()
|
| Methods inherited from class com.ibm.jtopenlite.database.jdbc.JDBCPreparedStatement |
addBatch, clearParameters, close, execute, executeQuery, executeUpdate, getMetaData, getParameterMetaData, setArray, setAsciiStream, setAsciiStream, setAsciiStream, setBigDecimal, setBinaryStream, setBinaryStream, setBinaryStream, setBlob, setBlob, setBlob, setBoolean, setByte, setBytes, setCharacterStream, setCharacterStream, setCharacterStream, setClob, setClob, setClob, setDate, setDate, setDouble, setFloat, setInt, setLong, setNCharacterStream, setNCharacterStream, setNClob, setNClob, setNString, setNull, setNull, setObject, setObject, setObject, setRef, setShort, setString, setTime, setTime, setTimestamp, setTimestamp, setUnicodeStream, setURL |
| Methods inherited from class com.ibm.jtopenlite.database.jdbc.JDBCStatement |
addBatch, cancel, clearBatch, clearWarnings, execute, execute, execute, execute, executeBatch, executeQuery, executeUpdate, executeUpdate, executeUpdate, executeUpdate, getConnection, getFetchDirection, getFetchSize, getGeneratedKeys, getMaxFieldSize, getMaxRows, getMoreResults, getMoreResults, getQueryTimeout, getResultSet, getResultSetConcurrency, getResultSetHoldability, getResultSetType, getStatementType, getUpdateCount, getWarnings, isClosed, isPoolable, newSQLCommunicationsAreaData, setCatalog, setCursorName, setCursorNameInternal, setEscapeProcessing, setFetchDirection, setFetchSize, setMaxFieldSize, setMaxRows, setPoolable, setQueryTimeout |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.sql.Statement |
addBatch, cancel, clearBatch, clearWarnings, 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 |
JDBCCallableStatement
public JDBCCallableStatement(JDBCConnection conn,
String sql,
Calendar calendar,
String statementName,
String cursorName,
int rpbID)
throws SQLException
- Throws:
SQLException
getArray
public Array getArray(int i)
throws SQLException
- Throws:
SQLException
getArray
public Array getArray(String parameterName)
throws SQLException
- Throws:
SQLException
getBigDecimal
public BigDecimal getBigDecimal(int parameterIndex)
throws SQLException
- Throws:
SQLException
getBigDecimal
public BigDecimal getBigDecimal(String parameterName)
throws SQLException
- Throws:
SQLException
getBigDecimal
public BigDecimal getBigDecimal(int parameterIndex,
int scale)
throws SQLException
- Throws:
SQLException
getBlob
public Blob getBlob(int i)
throws SQLException
- Throws:
SQLException
getBlob
public Blob getBlob(String parameterName)
throws SQLException
- Throws:
SQLException
getBoolean
public boolean getBoolean(int parameterIndex)
throws SQLException
- Throws:
SQLException
getBoolean
public boolean getBoolean(String parameterName)
throws SQLException
- Throws:
SQLException
getByte
public byte getByte(int parameterIndex)
throws SQLException
- Throws:
SQLException
getByte
public byte getByte(String parameterName)
throws SQLException
- Throws:
SQLException
getBytes
public byte[] getBytes(int parameterIndex)
throws SQLException
- Throws:
SQLException
getBytes
public byte[] getBytes(String parameterName)
throws SQLException
- Throws:
SQLException
getClob
public Clob getClob(int i)
throws SQLException
- Throws:
SQLException
getClob
public Clob getClob(String parameterName)
throws SQLException
- Throws:
SQLException
getDate
public Date getDate(int parameterIndex)
throws SQLException
- Throws:
SQLException
getDate
public Date getDate(String parameterName)
throws SQLException
- Throws:
SQLException
getDate
public Date getDate(int parameterIndex,
Calendar cal)
throws SQLException
- Throws:
SQLException
getDate
public Date getDate(String parameterName,
Calendar cal)
throws SQLException
- Throws:
SQLException
getDouble
public double getDouble(int parameterIndex)
throws SQLException
- Throws:
SQLException
getDouble
public double getDouble(String parameterName)
throws SQLException
- Throws:
SQLException
getFloat
public float getFloat(int parameterIndex)
throws SQLException
- Throws:
SQLException
getFloat
public float getFloat(String parameterName)
throws SQLException
- Throws:
SQLException
getInt
public int getInt(int parameterIndex)
throws SQLException
- Throws:
SQLException
getInt
public int getInt(String parameterName)
throws SQLException
- Throws:
SQLException
getLong
public long getLong(int parameterIndex)
throws SQLException
- Throws:
SQLException
getLong
public long getLong(String parameterName)
throws SQLException
- Throws:
SQLException
getObject
public Object getObject(int parameterIndex)
throws SQLException
- Throws:
SQLException
getObject
public Object getObject(String parameterName)
throws SQLException
- Throws:
SQLException
getObject
public Object getObject(int i,
map)
throws SQLException
- Throws:
SQLException
getObject
public Object getObject(String parameterName,
map)
throws SQLException
- Throws:
SQLException
getRef
public Ref getRef(int i)
throws SQLException
- Throws:
SQLException
getRef
public Ref getRef(String parameterName)
throws SQLException
- Throws:
SQLException
getShort
public short getShort(int parameterIndex)
throws SQLException
- Throws:
SQLException
getShort
public short getShort(String parameterName)
throws SQLException
- Throws:
SQLException
getString
public String getString(int parameterIndex)
throws SQLException
- Throws:
SQLException
getString
public String getString(String parameterName)
throws SQLException
- Throws:
SQLException
getTime
public Time getTime(int parameterIndex)
throws SQLException
- Throws:
SQLException
getTime
public Time getTime(String parameterName)
throws SQLException
- Throws:
SQLException
getTime
public Time getTime(int parameterIndex,
Calendar cal)
throws SQLException
- Throws:
SQLException
getTime
public Time getTime(String parameterName,
Calendar cal)
throws SQLException
- Throws:
SQLException
getTimestamp
public Timestamp getTimestamp(int parameterIndex)
throws SQLException
- Throws:
SQLException
getTimestamp
public Timestamp getTimestamp(String parameterName)
throws SQLException
- Throws:
SQLException
getTimestamp
public Timestamp getTimestamp(int parameterIndex,
Calendar cal)
throws SQLException
- Throws:
SQLException
getTimestamp
public Timestamp getTimestamp(String parameterName,
Calendar cal)
throws SQLException
- Throws:
SQLException
getURL
public URL getURL(int parameterIndex)
throws SQLException
- Throws:
SQLException
getURL
public URL getURL(String parameterName)
throws SQLException
- Throws:
SQLException
registerOutParameter
public void registerOutParameter(int parameterIndex,
int sqlType)
throws SQLException
- Throws:
SQLException
registerOutParameter
public void registerOutParameter(String parameterName,
int sqlType)
throws SQLException
- Throws:
SQLException
registerOutParameter
public void registerOutParameter(int parameterIndex,
int sqlType,
int scale)
throws SQLException
- Throws:
SQLException
registerOutParameter
public void registerOutParameter(int paramIndex,
int sqlType,
String typeName)
throws SQLException
- Throws:
SQLException
registerOutParameter
public void registerOutParameter(String parameterName,
int sqlType,
int scale)
throws SQLException
- Throws:
SQLException
registerOutParameter
public void registerOutParameter(String parameterName,
int sqlType,
String typeName)
throws SQLException
- Throws:
SQLException
setAsciiStream
public void setAsciiStream(String parameterName,
InputStream x,
int length)
throws SQLException
- Throws:
SQLException
setBigDecimal
public void setBigDecimal(String parameterName,
BigDecimal x)
throws SQLException
- Throws:
SQLException
setBinaryStream
public void setBinaryStream(String parameterName,
InputStream x,
int length)
throws SQLException
- Throws:
SQLException
setBoolean
public void setBoolean(String parameterName,
boolean x)
throws SQLException
- Throws:
SQLException
setByte
public void setByte(String parameterName,
byte x)
throws SQLException
- Throws:
SQLException
setBytes
public void setBytes(String parameterName,
byte[] x)
throws SQLException
- Throws:
SQLException
setCharacterStream
public void setCharacterStream(String parameterName,
Reader reader,
int length)
throws SQLException
- Throws:
SQLException
setDate
public void setDate(String parameterName,
Date x)
throws SQLException
- Throws:
SQLException
setDate
public void setDate(String parameterName,
Date x,
Calendar cal)
throws SQLException
- Throws:
SQLException
setDouble
public void setDouble(String parameterName,
double x)
throws SQLException
- Throws:
SQLException
setFloat
public void setFloat(String parameterName,
float x)
throws SQLException
- Throws:
SQLException
setInt
public void setInt(String parameterName,
int x)
throws SQLException
- Throws:
SQLException
setLong
public void setLong(String parameterName,
long x)
throws SQLException
- Throws:
SQLException
setNull
public void setNull(String parameterName,
int sqlType)
throws SQLException
- Throws:
SQLException
setNull
public void setNull(String parameterName,
int sqlType,
String typeName)
throws SQLException
- Throws:
SQLException
setObject
public void setObject(String parameterName,
Object x)
throws SQLException
- Throws:
SQLException
setObject
public void setObject(String parameterName,
Object x,
int targetSqlType)
throws SQLException
- Throws:
SQLException
setObject
public void setObject(String parameterName,
Object x,
int targetSqlType,
int scale)
throws SQLException
- Throws:
SQLException
setShort
public void setShort(String parameterName,
short x)
throws SQLException
- Throws:
SQLException
setString
public void setString(String parameterName,
String x)
throws SQLException
- Throws:
SQLException
setTime
public void setTime(String parameterName,
Time x)
throws SQLException
- Throws:
SQLException
setTime
public void setTime(String parameterName,
Time x,
Calendar cal)
throws SQLException
- Throws:
SQLException
setTimestamp
public void setTimestamp(String parameterName,
Timestamp x)
throws SQLException
- Throws:
SQLException
setTimestamp
public void setTimestamp(String parameterName,
Timestamp x,
Calendar cal)
throws SQLException
- Throws:
SQLException
setURL
public void setURL(String parameterName,
URL val)
throws SQLException
- Throws:
SQLException
wasNull
public boolean wasNull()
throws SQLException
- Throws:
SQLException
getCharacterStream
public Reader getCharacterStream(int parm)
throws SQLException
- Parameters:
parm -
- Throws:
SQLException
getCharacterStream
public Reader getCharacterStream(String parm)
throws SQLException
- Parameters:
parm -
- Throws:
SQLException
getNCharacterStream
public Reader getNCharacterStream(int parm)
throws SQLException
- Parameters:
parm -
- Throws:
SQLException
getNCharacterStream
public Reader getNCharacterStream(String parm)
throws SQLException
- Parameters:
parm -
- Throws:
SQLException
getNString
public String getNString(int parm)
throws SQLException
- Parameters:
parm -
- Throws:
SQLException
getNString
public String getNString(String parm)
throws SQLException
- Parameters:
parm -
- Throws:
SQLException
setAsciiStream
public void setAsciiStream(String parm,
InputStream arg1)
throws SQLException
- Parameters:
parm - arg1 -
- Throws:
SQLException
setAsciiStream
public void setAsciiStream(String parm,
InputStream arg1,
long arg2)
throws SQLException
- Parameters:
parm - arg1 - arg2 -
- Throws:
SQLException
setBinaryStream
public void setBinaryStream(String parm,
InputStream arg1)
throws SQLException
- Parameters:
parm - arg1 -
- Throws:
SQLException
setBinaryStream
public void setBinaryStream(String parm,
InputStream arg1,
long arg2)
throws SQLException
- Parameters:
parm - arg1 - arg2 -
- Throws:
SQLException
setBlob
public void setBlob(String parm,
Blob arg1)
throws SQLException
- Parameters:
parm - arg1 -
- Throws:
SQLException
setBlob
public void setBlob(String parm,
InputStream arg1)
throws SQLException
- Parameters:
parm - arg1 -
- Throws:
SQLException
setBlob
public void setBlob(String parm,
InputStream arg1,
long arg2)
throws SQLException
- Parameters:
parm - arg1 - arg2 -
- Throws:
SQLException
setCharacterStream
public void setCharacterStream(String parm,
Reader arg1)
throws SQLException
- Parameters:
parm - arg1 -
- Throws:
SQLException
setCharacterStream
public void setCharacterStream(String parm,
Reader arg1,
long arg2)
throws SQLException
- Parameters:
parm - arg1 - arg2 -
- Throws:
SQLException
setClob
public void setClob(String parm,
Clob arg1)
throws SQLException
- Parameters:
parm - arg1 -
- Throws:
SQLException
setClob
public void setClob(String parm,
Reader arg1)
throws SQLException
- Parameters:
parm - arg1 -
- Throws:
SQLException
setClob
public void setClob(String parm,
Reader arg1,
long arg2)
throws SQLException
- Parameters:
parm - arg1 - arg2 -
- Throws:
SQLException
setNCharacterStream
public void setNCharacterStream(String parm,
Reader arg1)
throws SQLException
- Parameters:
parm - arg1 -
- Throws:
SQLException
setNCharacterStream
public void setNCharacterStream(String parm,
Reader arg1,
long arg2)
throws SQLException
- Parameters:
parm - arg1 - arg2 -
- Throws:
SQLException
setNClob
public void setNClob(String parm,
Reader arg1)
throws SQLException
- Parameters:
parm - arg1 -
- Throws:
SQLException
setNClob
public void setNClob(String parm,
Reader arg1,
long arg2)
throws SQLException
- Parameters:
parm - arg1 - arg2 -
- Throws:
SQLException
setNString
public void setNString(String parm,
String arg1)
throws SQLException
- Parameters:
parm - arg1 -
- Throws:
SQLException