| Modifier and Type | Method and Description |
|---|---|
| public void | closeOnCompletion()
Redeclares java. Specifies that this |
| public long[] | executeLargeBatch()
Redeclares as abstract: 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 | 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.Redeclares as abstract: java. 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_KEYSRedeclares as abstract: java. 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)Redeclares as abstract: 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 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)Redeclares as abstract: 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 long | getLargeMaxRows()
Redeclares as abstract: java. Retrieves the maximum number of rows that a
|
| public long | getLargeUpdateCount()
Redeclares as abstract: java. Retrieves the current result as an update count; if the result
is a |
| public boolean | isCloseOnCompletion()
Redeclares java. Returns a value indicating whether this |
| public void | setLargeMaxRows(long
the new max rows limit; zero means there is no limit max)Redeclares as abstract: java. Sets the limit for the maximum number of rows that any
|
| closeOnCompletion | back to summary |
|---|---|
| public void closeOnCompletion() throws SQLException Redeclares java. Doc from java. Specifies that this Note Multiple calls to
| |
| executeLargeBatch | back to summary |
|---|---|
| public long[] executeLargeBatch() throws SQLException Redeclares as abstract: java. Doc from java. Submits a batch of commands to the database for execution and
if all commands execute successfully, returns an array of update counts.
The
This method should be used when the returned row count may exceed
The default implementation will throw
| |
| executeLargeUpdate | back to summary |
|---|---|
| public long executeLargeUpdate(String sql) throws SQLException Redeclares as abstract: java. Doc from java. Executes the given SQL statement, which may be an
This method should be used when the returned row count may exceed
Note This method cannot be called on a
The default implementation will throw
| |
| executeLargeUpdate | back to summary |
|---|---|
| public long executeLargeUpdate(String sql, int autoGeneratedKeys) throws SQLException Redeclares as abstract: java. Doc from java. Executes the given SQL statement and signals the driver with the
given flag about whether the
auto-generated keys produced by this
This method should be used when the returned row count may exceed
Note This method cannot be called on a
The default implementation will throw
| |
| executeLargeUpdate | back to summary |
|---|---|
| public long executeLargeUpdate(String sql, int[] columnIndexes) throws SQLException Redeclares as abstract: java. Doc from 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. 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 SQL statement
is not an
This method should be used when the returned row count may exceed
Note This method cannot be called on a
The default implementation will throw
| |
| executeLargeUpdate | back to summary |
|---|---|
| public long executeLargeUpdate(String sql, String[] columnNames) throws SQLException Redeclares as abstract: java. Doc from 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. 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 SQL statement
is not an
This method should be used when the returned row count may exceed
Note This method cannot be called on a
The default implementation will throw
| |
| getLargeMaxRows | back to summary |
|---|---|
| public long getLargeMaxRows() throws SQLException Redeclares as abstract: java. Doc from java. Retrieves the maximum number of rows that a
This method should be used when the returned row limit may exceed
The default implementation will return
| |
| getLargeUpdateCount | back to summary |
|---|---|
| public long getLargeUpdateCount() throws SQLException Redeclares as abstract: java. Doc from java. Retrieves the current result as an update count; if the result
is a
This method should be used when the returned row count may exceed
The default implementation will throw
| |
| isCloseOnCompletion | back to summary |
|---|---|
| public boolean isCloseOnCompletion() throws SQLException Redeclares java. Doc from java. Returns a value indicating whether this
| |
| setLargeMaxRows | back to summary |
|---|---|
| public void setLargeMaxRows(long max) throws SQLException Redeclares as abstract: java. Doc from java. Sets the limit for the maximum number of rows that any
This method should be used when the row limit may exceed
The default implementation will throw
| |