PreparedStatement 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

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.
Connection getConnection ()
1.0
Yes

int getFetchDirection ()
2.0 Core
Yes

int getFetchSize ()
2.0 Core
Yes

int getMaxFieldSize ()
1.0
Yes

int getMaxRows ()
1.0
Yes

ResultSetMetaData getMetaData ()
2.0 Core
Yes

boolean getMoreResults ()
1.0
Yes

int getQueryTimeout ()
1.0
Yes
Always returns 0.
ResultSet getResultSet ()
1.0
Yes

int getResultSetConcurrency ()
2.0 Core
Yes

int getResultSetType ()
2.0 Core
Yes

int getUpdateCount ()
1.0
Yes

SQLWarning getWarnings ()
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

void setCursorName (String)
1.0
No
Throws "unsupported method" exception.
void setDate (int, Date)
1.0
Yes
void setDate (int, Date, Calendar)
2.0 Core
Yes

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
Yes

void setTimestamp (int, Timestamp)
1.0
Yes

void setTimestamp (int, Timestamp, Calendar)
2.0 Core
Yes

void setUnicodeStream (int, InputStream, int)
1.0
No
Throws "unsupported method" exception.


Previous Document Previous Page Next Document Next Page Synchronize TOC Synchronize with Contents