Public Member Functions | |
ResultSet | executeQuery (String sql) throws SQLException |
Package Functions | |
int | executeUpdate (String sql) throws SQLException |
void | close () throws SQLException |
int | getMaxFieldSize () throws SQLException |
void | setMaxFieldSize (int max) throws SQLException |
int | getMaxRows () throws SQLException |
void | setMaxRows (int max) throws SQLException |
void | setEscapeProcessing (boolean enable) throws SQLException |
int | getQueryTimeout () throws SQLException |
void | setQueryTimeout (int seconds) throws SQLException |
void | cancel () throws SQLException |
SQLWarning | getWarnings () throws SQLException |
void | clearWarnings () throws SQLException |
void | setCursorName (String name) throws SQLException |
boolean | execute (String sql) throws SQLException |
ResultSet | getResultSet () throws SQLException |
int | getUpdateCount () throws SQLException |
boolean | getMoreResults () throws SQLException |
void | setFetchDirection (int direction) throws SQLException |
int | getFetchDirection () throws SQLException |
void | setFetchSize (int rows) throws SQLException |
int | getFetchSize () throws SQLException |
int | getResultSetConcurrency () throws SQLException |
int | getResultSetType () throws SQLException |
void | addBatch (String sql) throws SQLException |
void | clearBatch () throws SQLException |
int[] | executeBatch () throws SQLException |
Connection | getConnection () throws SQLException |
boolean | getMoreResults (int current) throws SQLException |
ResultSet | getGeneratedKeys () throws SQLException |
int | executeUpdate (String sql, int autoGeneratedKeys) throws SQLException |
int | executeUpdate (String sql, int columnIndexes[]) throws SQLException |
int | executeUpdate (String sql, String columnNames[]) throws SQLException |
boolean | execute (String sql, int autoGeneratedKeys) throws SQLException |
boolean | execute (String sql, int columnIndexes[]) throws SQLException |
boolean | execute (String sql, String columnNames[]) throws SQLException |
int | getResultSetHoldability () throws SQLException |
Package Attributes | |
int | CLOSE_CURRENT_RESULT = 1 |
int | KEEP_CURRENT_RESULT = 2 |
int | CLOSE_ALL_RESULTS = 3 |
int | SUCCESS_NO_INFO = -2 |
int | EXECUTE_FAILED = -3 |
int | RETURN_GENERATED_KEYS = 1 |
int | NO_GENERATED_KEYS = 2 |
Definition at line 30 of file jdk1.3/java/sql/Statement.java.
|
Adds the given SQL command to the current list of commmands for this NOTE: This method is optional.
Implemented in org.objectweb.cjdbc.driver.Statement. |
|
Cancels this
Implemented in org.objectweb.cjdbc.driver.Statement. |
|
Empties this NOTE: This method is optional.
Implemented in org.objectweb.cjdbc.driver.Statement. |
|
Clears all the warnings reported on this
Implemented in org.objectweb.cjdbc.driver.Statement. |
|
Releases this
Calling the method
Note: A
Implemented in org.objectweb.cjdbc.driver.PreparedStatement, and org.objectweb.cjdbc.driver.Statement. Referenced by org.objectweb.cjdbc.controller.loadbalancer.AbstractLoadBalancer.executeUpdateRequestOnBackend(), org.objectweb.cjdbc.controller.recoverylog.JDBCRecoveryLog.getLastTransactionId(), org.objectweb.cjdbc.controller.recoverylog.JDBCRecoveryLog.recoverNextRequest(), and org.objectweb.cjdbc.controller.recoverylog.JDBCRecoveryLog.rollback(). |
|
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. This array contains the names of the columns in the target table that contain the auto-generated keys that should be made available. The driver will ignore the array if the given SQL statement is not an In some (uncommon) situations, a single SQL statement may return multiple result sets and/or update counts. Normally you can ignore this unless you are (1) executing a stored procedure that you know may return multiple results or (2) you are dynamically executing an unknown SQL string.
The
Implemented in org.objectweb.cjdbc.driver.Statement. |
|
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. This array contains the indexes of the columns in the target table that contain the auto-generated keys that should be made available. The driver will ignore the array if the given SQL statement is not an Under some (uncommon) situations, a single SQL statement may return multiple result sets and/or update counts. Normally you can ignore this unless you are (1) executing a stored procedure that you know may return multiple results or (2) you are dynamically executing an unknown SQL string.
The
Implemented in org.objectweb.cjdbc.driver.Statement. |
|
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. The driver will ignore this signal if the SQL statement is not an In some (uncommon) situations, a single SQL statement may return multiple result sets and/or update counts. Normally you can ignore this unless you are (1) executing a stored procedure that you know may return multiple results or (2) you are dynamically executing an unknown SQL string.
The
Implemented in org.objectweb.cjdbc.driver.Statement. |
|
Executes the given SQL statement, which may return multiple results. In some (uncommon) situations, a single SQL statement may return multiple result sets and/or update counts. Normally you can ignore this unless you are (1) executing a stored procedure that you know may return multiple results or (2) you are dynamically executing an unknown SQL string.
The
Implemented in org.objectweb.cjdbc.driver.Statement. Referenced by org.objectweb.cjdbc.controller.backend.DriverCompliance.complianceTest(). |
|
Submits a batch of commands to the database for execution and if all commands execute successfully, returns an array of update counts. The
A driver is not required to implement this method. The possible implementations and return values have been modified in the Java 2 SDK, Standard Edition, version 1.3 to accommodate the option of continuing to proccess commands in a batch update after a
Implemented in org.objectweb.cjdbc.driver.Statement. |
|
Executes the given SQL statement, which returns a single
Implemented in org.objectweb.cjdbc.driver.Statement. Referenced by org.objectweb.cjdbc.controller.loadbalancer.AbstractLoadBalancer.executeSelectRequestOnBackend(), org.objectweb.cjdbc.controller.recoverylog.JDBCRecoveryLog.getCheckpointRequestId(), org.objectweb.cjdbc.controller.recoverylog.JDBCRecoveryLog.getData(), org.objectweb.cjdbc.controller.recoverylog.JDBCRecoveryLog.getLastTransactionId(), org.objectweb.cjdbc.controller.backend.DatabaseBackend.isValidConnection(), and org.objectweb.cjdbc.controller.recoverylog.JDBCRecoveryLog.recoverNextRequest(). |
|
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. The driver will ignore the array if the SQL statement is not an
Implemented in org.objectweb.cjdbc.driver.Statement. |
|
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. The driver will ignore the array if the SQL statement is not an
Implemented in org.objectweb.cjdbc.driver.Statement. |
|
Executes the given SQL statement and signals the driver with the given flag about whether the auto-generated keys produced by this
Implemented in org.objectweb.cjdbc.driver.Statement. |
|
Executes the given SQL statement, which may be an
Implemented in org.objectweb.cjdbc.driver.Statement. Referenced by org.objectweb.cjdbc.controller.loadbalancer.AbstractLoadBalancer.executeUpdateRequestOnBackend(), org.objectweb.cjdbc.controller.loadbalancer.AbstractLoadBalancer.executeUpdateRequestOnBackendWithKeys(), and org.objectweb.cjdbc.controller.recoverylog.JDBCRecoveryLog.rollback(). |
|
Retrieves the
Implemented in org.objectweb.cjdbc.driver.Statement. |
|
Retrieves the direction for fetching rows from database tables that is the default for result sets generated from this
Implemented in org.objectweb.cjdbc.driver.Statement. |
|
Retrieves the number of result set rows that is the default fetch size for
Implemented in org.objectweb.cjdbc.driver.Statement. |
|
Retrieves any auto-generated keys created as a result of executing this
Implemented in org.objectweb.cjdbc.driver.Statement. Referenced by org.objectweb.cjdbc.controller.backend.DriverCompliance.complianceTest(). |
|
Retrieves the maximum number of bytes that can be returned for character and binary column values in a
Implemented in org.objectweb.cjdbc.driver.Statement. |
|
Retrieves the maximum number of rows that a
Implemented in org.objectweb.cjdbc.driver.Statement. |
|
Moves to this There are no more results when the following is true:
Implemented in org.objectweb.cjdbc.driver.Statement. |
|
Moves to this There are no more results when the following is true:
Implemented in org.objectweb.cjdbc.driver.Statement. |
|
Retrieves the number of seconds the driver will wait for a
Implemented in org.objectweb.cjdbc.driver.Statement. |
|
Retrieves the current result as a
Implemented in org.objectweb.cjdbc.driver.Statement. |
|
Retrieves the result set concurrency for
Implemented in org.objectweb.cjdbc.driver.Statement. |
|
Retrieves the result set holdability for
Implemented in org.objectweb.cjdbc.driver.Statement. |
|
Retrieves the result set type for
Implemented in org.objectweb.cjdbc.driver.Statement. |
|
Retrieves the current result as an update count; if the result is a
Implemented in org.objectweb.cjdbc.driver.Statement. |
|
Retrieves the first warning reported by calls on this
The warning chain is automatically cleared each time a statement is (re)executed. This method may not be called on a closed
Note: If you are processing a
Implemented in org.objectweb.cjdbc.driver.Statement. |
|
Sets the SQL cursor name to the given
Note: By definition, the execution of positioned updates and deletes must be done by a different
Implemented in org.objectweb.cjdbc.driver.Statement. Referenced by org.objectweb.cjdbc.controller.backend.DriverCompliance.complianceTest(), and org.objectweb.cjdbc.controller.loadbalancer.AbstractLoadBalancer.executeSelectRequestOnBackend(). |
|
Sets escape processing on or off. If escape scanning is on (the default), the driver will do escape substitution before sending the SQL statement to the database. Note: Since prepared statements have usually been parsed prior to making this call, disabling escape processing for
Implemented in org.objectweb.cjdbc.driver.Statement. |
|
Gives the driver a hint as to the direction in which rows will be processed in
Note that this method sets the default fetch direction for result sets generated by this
Implemented in org.objectweb.cjdbc.driver.Statement. |
|
Gives the JDBC driver a hint as to the number of rows that should be fetched from the database when more rows are needed. The number of rows specified affects only result sets created using this statement. If the value specified is zero, then the hint is ignored. The default value is zero.
Implemented in org.objectweb.cjdbc.driver.Statement. Referenced by org.objectweb.cjdbc.controller.backend.DriverCompliance.complianceTest(), and org.objectweb.cjdbc.controller.loadbalancer.AbstractLoadBalancer.executeSelectRequestOnBackend(). |
|
Sets the limit for the maximum number of bytes in a
Implemented in org.objectweb.cjdbc.driver.Statement. |
|
Sets the limit for the maximum number of rows that any
Implemented in org.objectweb.cjdbc.driver.Statement. Referenced by org.objectweb.cjdbc.controller.backend.DriverCompliance.complianceTest(), and org.objectweb.cjdbc.controller.loadbalancer.AbstractLoadBalancer.executeSelectRequestOnBackend(). |
|
Sets the number of seconds the driver will wait for a
Implemented in org.objectweb.cjdbc.driver.Statement. Referenced by org.objectweb.cjdbc.controller.backend.DriverCompliance.complianceTest(), org.objectweb.cjdbc.controller.loadbalancer.AbstractLoadBalancer.executeSelectRequestOnBackend(), org.objectweb.cjdbc.controller.loadbalancer.AbstractLoadBalancer.executeUpdateRequestOnBackend(), and org.objectweb.cjdbc.controller.loadbalancer.AbstractLoadBalancer.executeUpdateRequestOnBackendWithKeys(). |
|
The constant indicating that all
Definition at line 516 of file jdk1.3/java/sql/Statement.java. |
|
The constant indicating that the current
Definition at line 499 of file jdk1.3/java/sql/Statement.java. |
|
The constant indicating that an error occured while executing a batch statement.
Definition at line 532 of file jdk1.3/java/sql/Statement.java. |
|
The constant indicating that the current
Definition at line 507 of file jdk1.3/java/sql/Statement.java. |
|
The constant indicating that generated keys should not be made available for retrieval.
Definition at line 548 of file jdk1.3/java/sql/Statement.java. |
|
The constant indicating that generated keys should be made available for retrieval.
Definition at line 540 of file jdk1.3/java/sql/Statement.java. |
|
The constant indicating that a batch statement executed successfully but that no count of the number of rows it affected is available.
Definition at line 524 of file jdk1.3/java/sql/Statement.java. |