An object used for executing static SQL statement and obtaining the results produced by it.
Methods of Interface java.sql.Statement
Method Name |
Support in Open SQL |
Comments |
void addBatch( String ) |
r |
|
void cancel() |
r |
|
void clearBatch() |
a |
|
void clearWarnings() |
a |
|
void close() |
a |
|
boolean execute( String ) |
a |
|
int[] executeBatch() |
r |
|
ResultSet executeQuery( String ) |
a |
|
int executeUpdate( String ) |
a |
|
Connection getConnection() |
r |
|
int getFetchDirection() |
a |
Returns FETCH_FORWARD. |
int getFetchSize() |
a |
|
int getMaxFieldSize() |
a |
Returns 0. |
int getMaxRows() |
a |
|
boolean getMoreResults() |
r |
|
int getQueryTimeout() |
a |
|
ResultSet getResultSet() |
a |
|
int getResultSetConcurrency() |
a |
Returns CONCUR_READ_ONLY. |
int getResultSetType() |
a |
Returns TYPE_FORWARD_ONLY. |
int getUpdateCount() |
a |
|
SQLWarning getWarnings() |
a |
|
void setCursorName( String ) |
r |
|
void setEscapeProcessing( boolean ) |
r |
|
void setFetchDirection( int ) |
r |
|
void setFetchSize( int ) |
r |
|
void setMaxFieldSize( int ) |
r |
|
void setMaxRows( int ) |
a |
|
void setQueryTimeout( int ) |
r |
|