Show TOC

java.sql.StatementLocate this document in the navigation structure

Definition

An object used for executing static SQL statement and obtaining the results produced by it.

Integration

Method Name

Support in Open SQL

Comments

void addBatch( String )

void cancel()

void clearBatch()

void clearWarnings()

void close()

boolean execute( String )

int[] executeBatch()

ResultSet executeQuery( String )

int executeUpdate( String )

Connection getConnection()

int getFetchDirection()

Returns FETCH_FORWARD.

int getFetchSize()

int getMaxFieldSize()

Returns 0.

int getMaxRows()

boolean getMoreResults()

int getQueryTimeout()

ResultSet getResultSet()

int getResultSetConcurrency()

Returns CONCUR_READ_ONLY.

int getResultSetType()

Returns TYPE_FORWARD_ONLY.

int getUpdateCount()

SQLWarning getWarnings()

void setCursorName( String )

void setEscapeProcessing( boolean )

void setFetchDirection( int )

void setFetchSize( int )

void setMaxFieldSize( int )

void setMaxRows( int )

void setQueryTimeout( int )