CallableStatement Object
Methods |
Version Introduced |
Supported |
Comments |
void addBatch () |
2.0 Core |
Yes |
|
void addBatch (String) |
2.0 Core |
No |
Throws "invalid method call" exception. |
void cancel () |
1.0 |
Yes |
Ignored. |
void clearBatch () |
2.0 Core |
Yes |
|
void clearParameters () |
1.0 |
Yes |
|
void clearWarnings () |
1.0 |
Yes |
|
void close () |
1.0 |
Yes |
|
boolean execute () |
1.0 |
Yes |
|
boolean execute (String) |
1.0 |
No |
Throws "invalid method call" exception. |
int [] executeBatch () |
2.0 Core |
Yes |
|
ResultSet executeQuery () |
1.0 |
Yes |
|
ResultSet executeQuery (String) |
1.0 |
No |
Throws "invalid method call" exception. |
int executeUpdate () |
1.0 |
Yes |
|
int executeUpdate (String) |
1.0 |
No |
Throws "invalid method call" exception. |
Array getArray (int) |
2.0 Core |
No |
Throws "unsupported method" exception. |
BigDecimal getBigDecimal (int) |
2.0 Core |
Yes |
|
BigDecimal getBigDecimal (int, int) |
1.0 |
Yes |
|
Blob getBlob (int) |
2.0 Core |
No |
Throws "unsupported method" exception. |
boolean getBoolean (int) |
1.0 |
Yes |
|
byte getByte (int) |
1.0 |
Yes |
|
byte [] getBytes (int) |
1.0 |
Yes |
|
Clob getClob (int) |
2.0 Core |
No |
Throws "unsupported method" exception. |
Connection getConnection () |
1.0 |
Yes |
|
Date getDate (int) |
1.0 |
Yes |
|
Date getDate (int, Calendar) |
2.0 Core |
No |
Throws "unsupported method" exception. |
double getDouble (int) |
1.0 |
Yes |
|
int getFetchDirection () |
2.0 Core |
Yes |
|
int getFetchSize () |
2.0 Core |
Yes |
|
float getFloat (int) |
1.0 |
Yes |
|
int getInt (int) |
1.0 |
Yes |
|
long getLong (int) |
1.0 |
Yes |
|
int getMaxFieldSize () |
1.0 |
Yes |
|
int getMaxRows () |
1.0 |
Yes |
|
ResultSetMetaData getMetaData () |
2.0 Core |
Yes |
|
boolean getMoreResults () |
1.0 |
Yes |
|
Object getObject (int) |
1.0 |
Yes |
|
Object getObject (int, Map) |
2.0 Core |
Yes |
Map ignored. |
int getQueryTimeout () |
1.0 |
Yes |
Always returns 0. |
Ref getRef (int) |
2.0 Core |
No |
Throws "unsupported method" exception. |
ResultSet getResultSet () |
1.0 |
Yes |
|
int getResultSetConcurrency () |
2.0 Core |
Yes |
|
int getResultSetType () |
2.0 Core |
Yes |
|
short getShort (int) |
1.0 |
Yes |
|
String getString (int) |
1.0 |
Yes |
|
Time getTime (int) |
1.0 |
Yes |
|
Time getTime (int, Calendar) |
2.0 Core |
No |
Throws "unsupported method" exception. |
Timestamp getTimestamp (int) |
1.0 |
Yes |
|
Timestamp getTimestamp (int, Calendar) |
2.0 Core |
No |
Throws "unsupported method" exception. |
int getUpdateCount () |
1.0 |
Yes |
|
SQLWarning getWarnings () |
1.0 |
Yes |
|
void registerOutParameter (int, int) |
1.0 |
Yes |
|
void registerOutParameter (int, int, String) |
2.0 Core |
Yes |
String/typename ignored. |
void registerOutParameter (int, int, int) |
1.0 |
Yes |
|
void setArray (int, Array) |
2.0 Core |
No |
Throws "unsupported method" exception. |
void setAsciiStream (int, InputStream, int) |
1.0 |
Yes |
|
void setBigDecimal (int, BigDecimal) |
1.0 |
Yes |
|
void setBinaryStream (int, InputStream, int) |
1.0 |
Yes |
|
void setBlob (int, Blob) |
2.0 Core |
No |
Throws "unsupported method" exception. |
void setBoolean (int, boolean) |
1.0 |
Yes |
|
void setByte (int, byte) |
1.0 |
Yes |
|
void setBytes (int, byte []) |
1.0 |
Yes |
|
void setCharacterStream (int, Reader, int) |
2.0 Core |
Yes |
|
void setClob (int, Clob) |
2.0 Core |
No |
Throws "unsupported method" exception. |
void setCursorName (String) |
1.0 |
No |
|
void setDate (int, Date) |
1.0 |
Yes |
|
void setDate (int, Date, Calendar) |
2.0 Core |
No |
Throws "unsupported method" exception. |
void setDouble (int, double) |
1.0 |
Yes |
|
void setEscapeProcessing (boolean) |
1.0 |
Yes |
Ignored. |
void setFetchDirection (int) |
2.0 Core |
Yes |
|
void setFetchSize (int) |
2.0 Core |
Yes |
|
void setFloat (int, float) |
1.0 |
Yes |
|
void setInt (int, int) |
1.0 |
Yes |
|
void setLong (int, long) |
1.0 |
Yes |
|
void setMaxFieldSize (int) |
1.0 |
Yes |
|
void setMaxRows (int) |
1.0 |
Yes |
|
void setNull (int, int) |
1.0 |
Yes |
|
void setNull (int, int, String) |
2.0 Core |
Yes |
|
void setObject (int, Object) |
1.0 |
Yes |
|
void setObject (int, Object, int) |
1.0 |
Yes |
|
void setObject (int, Object, int, int) |
1.0 |
Yes |
|
void setQueryTimeout (int) |
1.0 |
No |
Throws "unsupported method" exception. |
void setRef (int, Ref) |
2.0 Core |
No |
Throws "unsupported method" exception. |
void setShort (int, short) |
1.0 |
Yes |
|
void setString (int, String) |
1.0 |
Yes |
|
void setTime (int, Time) |
1.0 |
Yes |
|
void setTime (int, Time, Calendar) |
2.0 Core |
No |
Throws "unsupported method" exception. |
void setTimestamp (int, Timestamp) |
1.0 |
Yes |
|
void setTimestamp (int, Timestamp, Calendar) |
2.0 Core |
No |
Throws "unsupported method" exception. |
void setUnicodeStream (int, InputStream, int) |
1.0 |
No |
Throws "unsupported method" exception. |
boolean wasNull () |
1.0 |
Yes |
|