Generated by
JDiff

Interface java.sql.Statement

Documentation changed from old to new.

Added Methods
boolean execute(String, int) Executes the given SQL statement which may return multiple results and signals the driver that any auto-generated keys should be made available for retrieval.
boolean execute(String, int[]) Executes the given SQL statement which may return multiple results and signals the driver that the auto-generated keys indicated in the given array should be made available for retrieval.
boolean execute(String, String[]) Executes the given SQL statement which may return multiple results and signals the driver that the auto-generated keys indicated in the given array should be made available for retrieval.
int executeUpdate(String, int) Executes the given SQL statement and signals the driver with the given flag about whether the auto-generated keys produced by this Statement object should be made available for retrieval.
int executeUpdate(String, int[]) Executes the given SQL statement and signals the driver that the auto-generated keys indicated in the given array should be made available for retrieval.
int executeUpdate(String, String[]) Executes the given SQL statement and signals the driver that the auto-generated keys indicated in the given array should be made available for retrieval.
ResultSet getGeneratedKeys() Retrieves any auto-generated keys created as a result of executing this Statement object.
boolean getMoreResults(int) Moves to this Statement object's next result deals with any current ResultSet object(s) according to the instructions specified by the given flag and returns true if the next result is a ResultSet object.
int getResultSetHoldability() Retrieves the result set holdability for ResultSet objects generated by this Statement object.
 

Changed Methods
void addBatch(String) Documentation changed from old to new.
Adds the given SQL command to the current list of commmands for this Statement object.
void clearBatch() Documentation changed from old to new.
Empties this Statement object's current list of SQL commands.
void close() Documentation changed from old to new.
Releases this Statement object's database and JDBC resources immediately instead of waiting for this to happen when it is automatically closed.
int[] executeBatch() Documentation changed from old to new.
Submits a batch of commands to the database for execution and if all commands execute successfully returns an array of update counts.
ResultSet executeQuery(String) Documentation changed from old to new.
Executes the given SQL statement which returns a single ResultSet object.
Connection getConnection() Documentation changed from old to new.
Retrieves the Connection object that produced this Statement object.
int getFetchDirection() Documentation changed from old to new.
Retrieves the direction for fetching rows from database tables that is the default for result sets generated from this Statement object.
int getFetchSize() Documentation changed from old to new.
Retrieves the number of result set rows that is the default fetch size for ResultSet objects generated from this Statement object.
int getMaxFieldSize() Documentation changed from old to new.
Retrieves the maximum number of bytes that can be returned for character and binary column values in a ResultSet object produced by this Statement object.
int getMaxRows() Documentation changed from old to new.
Retrieves the maximum number of rows that a ResultSet object produced by this Statement object can contain.
int getQueryTimeout() Documentation changed from old to new.
Retrieves the number of seconds the driver will wait for a Statement object to execute.
ResultSet getResultSet() Documentation changed from old to new.
Retrieves the current result as a ResultSet object.
int getResultSetConcurrency() Documentation changed from old to new.
Retrieves the result set concurrency for ResultSet objects generated by this Statement object.
int getResultSetType() Documentation changed from old to new.
Retrieves the result set type for ResultSet objects generated by this Statement object.
int getUpdateCount() Documentation changed from old to new.
Retrieves the current result as an update count; if the result is a ResultSet object or there are no more results -1 is returned.
SQLWarning getWarnings() Documentation changed from old to new.
Retrieves the first warning reported by calls on this Statement object.
void setCursorName(String) Documentation changed from old to new.
Sets the SQL cursor name to the given String which will be used by subsequent Statement object execute methods.
void setEscapeProcessing(boolean) Documentation changed from old to new.
Sets escape processing on or off.
void setFetchDirection(int) Documentation changed from old to new.
Gives the driver a hint as to the direction in which rows will be processed in ResultSet objects created using this Statement object.
void setFetchSize(int) Documentation changed from old to new.
Gives the JDBC driver a hint as to the number of rows that should be fetched from the database when more rows are needed.
void setMaxFieldSize(int) Documentation changed from old to new.
Sets the limit for the maximum number of bytes in a ResultSet column storing character or binary values to the given number of bytes.
void setMaxRows(int) Documentation changed from old to new.
Sets the limit for the maximum number of rows that any ResultSet object can contain to the given number.
void setQueryTimeout(int) Documentation changed from old to new.
Sets the number of seconds the driver will wait for a Statement object to execute to the given number of seconds.
boolean execute(String) Documentation changed from old to new.
Executes the given SQL statement which may return multiple results.
int executeUpdate(String) Documentation changed from old to new.
Executes the given SQL statement which may be an INSERT UPDATE or DELETE statement or an SQL statement that returns nothing such as an SQL DDL statement.
boolean getMoreResults() Documentation changed from old to new.
Moves to this Statement object's next result returns true if it is a ResultSet object and implicitly closes any current ResultSet object(s) obtained with the method getResultSet.
 

Added Fields
int CLOSE_ALL_RESULTS The constant indicating that all ResultSet objects that have previously been kept open should be closed when calling getMoreResults.
int CLOSE_CURRENT_RESULT The constant indicating that the current ResultSet object should be closed when calling getMoreResults.
int EXECUTE_FAILED The constant indicating that an error occured while executing a batch statement.
int KEEP_CURRENT_RESULT The constant indicating that the current ResultSet object should not be closed when calling getMoreResults.
int NO_GENERATED_KEYS The constant indicating that generated keys should not be made available for retrieval.
int RETURN_GENERATED_KEYS The constant indicating that generated keys should be made available for retrieval.
int SUCCESS_NO_INFO The constant indicating that a batch statement executed successfully but that no count of the number of rows it affected is available.