| Modifier and Type | Field and Description |
|---|---|
| pack-priv final BrokeredStatementControl | control
My control. |
| private String | cursorName
My state |
| private Boolean | |
| pack-priv final int | |
| pack-priv final int | |
| pack-priv final int |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public final void | addBatch(String
typically this is a SQL sql)INSERT or
UPDATE statementImplements java. Adds the given SQL command to the current list of commands for this
|
| public final void | cancel()
Implements java. Cancels this |
| protected final void | |
| public final void | clearBatch()
Implements java. Empties this |
| public final void | clearWarnings()
Implements java. After this call getWarnings returns null until a new warning is reported for this Statement. |
| public void | close()
Implements java. In many cases, it is desirable to immediately release a Statements's database and JDBC resources instead of waiting for this to happen when it is automatically closed; the close method provides this immediate release. |
| public void | closeOnCompletion()
Implements org. Specifies that this |
| pack-priv final BrokeredStatementControl | |
| public Statement | |
| public final boolean | execute(String
any SQL statement sql)Implements java. Executes the given SQL statement, which may return multiple results. |
| public final boolean | execute(String
any SQL statement sql, int a constant indicating whether auto-generated
keys should be made available for retrieval using the method
autoGeneratedKeys)getGeneratedKeys; one of the following constants:
Statement.RETURN_GENERATED_KEYS or
Statement.NO_GENERATED_KEYSImplements java. 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. |
| public final boolean | execute(String
any SQL statement sql, int[] an array of the indexes of the columns in the
inserted row that should be made available for retrieval by a
call to the method columnIndexes)getGeneratedKeysImplements java. 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. |
| public final boolean | execute(String
any SQL statement sql, String[] an array of the names of the columns in the inserted
row that should be made available for retrieval by a call to the
method columnNames)getGeneratedKeysImplements java. 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. |
| public final int[] | executeBatch()
Implements java. Submits a batch of commands to the database for execution and if all commands execute successfully, returns an array of update counts. |
| public long[] | executeLargeBatch()
Implements org. Submits a batch of commands to the database for execution and if all commands execute successfully, returns an array of update counts. |
| public long | executeLargeUpdate(String
an SQL Data Manipulation Language (DML) statement,
such as sql)INSERT, UPDATE or
DELETE; or an SQL statement that returns nothing,
such as a DDL statement.Implements org. Executes the given SQL statement, which may be an |
| public long | executeLargeUpdate(String
an SQL Data Manipulation Language (DML) statement,
such as sql, int INSERT, UPDATE or
DELETE; or an SQL statement that returns nothing,
such as a DDL statement.a flag indicating whether auto-generated keys
should be made available for retrieval;
one of the following constants:
autoGeneratedKeys)Statement.RETURN_GENERATED_KEYS
Statement.NO_GENERATED_KEYSImplements org. Executes the given SQL statement and signals the driver with the
given flag about whether the
auto-generated keys produced by this |
| public long | executeLargeUpdate(String
an SQL Data Manipulation Language (DML) statement,
such as sql, int[] INSERT, UPDATE or
DELETE; or an SQL statement that returns nothing,
such as a DDL statement.an array of column indexes indicating the columns
that should be returned from the inserted row columnIndexes)Implements org. 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. |
| public long | executeLargeUpdate(String
an SQL Data Manipulation Language (DML) statement,
such as sql, String[] INSERT, UPDATE or
DELETE; or an SQL statement that returns nothing,
such as a DDL statement.an array of the names of the columns that should be
returned from the inserted row columnNames)Implements org. 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. |
| public final ResultSet | executeQuery(String
an SQL statement to be sent to the database, typically a
static SQL sql)SELECT statementImplements java. Executes the given SQL statement, which returns a single
|
| public final int | executeUpdate(String
an SQL Data Manipulation Language (DML) statement, such as sql)INSERT, UPDATE or
DELETE; or an SQL statement that returns nothing,
such as a DDL statement.Implements java. Executes the given SQL statement, which may be an |
| public final int | executeUpdate(String
an SQL Data Manipulation Language (DML) statement, such as sql, int INSERT, UPDATE or
DELETE; or an SQL statement that returns nothing,
such as a DDL statement.a flag indicating whether auto-generated keys
should be made available for retrieval;
one of the following constants:
autoGeneratedKeys)Statement.RETURN_GENERATED_KEYS
Statement.NO_GENERATED_KEYSImplements java. Executes the given SQL statement and signals the driver with the
given flag about whether the
auto-generated keys produced by this |
| public final int | executeUpdate(String
an SQL Data Manipulation Language (DML) statement, such as sql, int[] INSERT, UPDATE or
DELETE; or an SQL statement that returns nothing,
such as a DDL statement.an array of column indexes indicating the columns
that should be returned from the inserted row columnIndexes)Implements java. 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. |
| public final int | executeUpdate(String
an SQL Data Manipulation Language (DML) statement, such as sql, String[] INSERT, UPDATE or
DELETE; or an SQL statement that returns nothing,
such as a DDL statement.an array of the names of the columns that should be
returned from the inserted row columnNames)Implements java. 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. |
| public final Connection | getConnection()
Implements java. Retrieves the |
| public final int | getFetchDirection()
Implements java. Retrieves the direction for fetching rows from
database tables that is the default for result sets
generated from this |
| public final int | getFetchSize()
Implements java. Retrieves the number of result set rows that is the default
fetch size for |
| public final ResultSet | Returns: a ResultSet object containing the auto-generated key(s) generated by the execution of this Statement objectImplements java. JDBC 3.0 Retrieves any auto-generated keys created as a result of executing this Statement object. |
| public long | getLargeMaxRows()
Implements org. Retrieves the maximum number of rows that a
|
| public long | getLargeUpdateCount()
Implements org. Retrieves the current result as an update count; if the result
is a |
| public final int | getMaxFieldSize()
Implements java. Retrieves the maximum number of bytes that can be
returned for character and binary column values in a |
| public final int | getMaxRows()
Implements java. Retrieves the maximum number of rows that a
|
| public final boolean | Returns: true if the next result is a ResultSet; false if it is an update count or there are no more resultsImplements java. getMoreResults moves to a Statement's next result. |
| public final boolean | Returns: true if the next result is a ResultSet; false if it is an update count or there are no more results- one of the following Statement constants indicating what
should happen to current ResultSet objects obtained using the method
getResultSetCLOSE_CURRENT_RESULT, KEEP_CURRENT_RESULT, or CLOSE_ALL_RESULTS current)Implements java. JDBC 3.0 Moves to this Statement obect'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 |
| public final int | getQueryTimeout()
Implements java. Retrieves the number of seconds the driver will
wait for a |
| public final ResultSet | Returns: the current result as a ResultSet; null if the result is an update count or there are no more results or the statement was closed.Implements java. getResultSet returns the current result as a ResultSet. |
| public final int | getResultSetConcurrency()
Implements java. Retrieves the result set concurrency for |
| public final int | getResultSetHoldability()
Implements java. Return the holdability of ResultSets created by this Statement. |
| public final int | getResultSetType()
Implements java. JDBC 2.0 Determine the result set type. |
| public Statement | |
| public final int | Returns: the current result as an update count; -1 if it is a ResultSet or there are no more resultsImplements java. getUpdateCount returns the current result as an update count; if the result is a ResultSet or there are no more results -1 is returned. |
| public final SQLWarning | Returns: the first SQLWarning or nullImplements java. The first warning reported by calls on this Statement is returned. |
| public final boolean | Returns: true if the statement is closed,
false otherwiseImplements java. Checks if the statement is closed. |
| public boolean | isCloseOnCompletion()
Implements org. Returns a value indicating whether this |
| public final boolean | Returns: true if the underlying Statement is poolable, false otherwise.Implements java. Forwards to the real Statement. |
| public boolean | Returns: true if this implements the interface or directly or indirectly wraps an object that does.a Class defining an interface. iface)Implements java. Returns false unless |
| public final void | setCursorName(String
the new cursor name. name)Implements java. setCursorName defines the SQL cursor name that will be used by subsequent Statement execute methods. |
| public final void | setEscapeProcessing(boolean
true to enable; false to disable enable)Implements java. If escape scanning is on (the default) the driver will do escape substitution before sending the SQL to the database. |
| public final void | setFetchDirection(int
the initial direction for processing rows direction)Implements java. JDBC 2.0 Give a hint as to the direction in which the rows in a result set will be processed. |
| public final void | setFetchSize(int
the number of rows to fetch rows)Implements java. JDBC 2.0 Give the JDBC driver a hint as to the number of rows that should be fetched from the database when more rows are needed. |
| public void | setLargeMaxRows(long
the new max rows limit; zero means there is no limit max)Implements org. Sets the limit for the maximum number of rows that any
|
| public final void | setMaxFieldSize(int
the new max column size limit; zero means unlimited max)Implements java. The maxFieldSize limit (in bytes) is set to limit the size of data that can be returned for any column value; it only applies to BINARY, VARBINARY, LONGVARBINARY, CHAR, VARCHAR, and LONGVARCHAR fields. |
| public final void | setMaxRows(int
the new max rows limit; zero means unlimited max)Implements java. The maxRows limit is set to limit the number of rows that any ResultSet can contain. |
| public final void | setPoolable(boolean
the new value for the poolable hint. poolable)Implements java. Forwards to the real Statement. |
| public final void | setQueryTimeout(int
the new query timeout limit in seconds; zero means
there is no limit seconds)Implements java. Sets the number of seconds the driver will wait for a
|
| pack-priv void | |
| pack-priv final SQLException | Returns: an exception indicating that unwrap failedthe class or interface passed in to the failed unwrap call iface)Return an exception that reports that an unwrap operation has failed because the object couldn't be cast to the specified interface. |
| public <T> T | Returns: an object that implements the interfacea class defining an interface iface)Implements java. Returns |
| pack-priv final ResultSet | wrapResultSet(ResultSet
ResultSet being returned, can be null. rs)Provide the control access to every ResultSet we return. |