| Modifier and Type | Field and Description |
|---|---|
| pack-priv ConnectionEventListener | |
| pack-priv NewProxyConnection | |
| protected Statement | |
| pack-priv boolean | |
| private static final MLogger | |
| pack-priv HashSet | |
| pack-priv volatile NewPooledConnection |
| Access | Constructor and Description |
|---|---|
| pack-priv | |
| pack-priv | |
| pack-priv | NewProxyStatement(Statement inner, NewPooledConnection parentPooledConnection, boolean cached, NewProxyConnection cProxy)
|
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| public final void | addBatch(String
typically this is a SQL a)INSERT or
UPDATE statementImplements java. Adds the given SQL command to the current list of commands for this
|
| pack-priv void | |
| public final void | cancel()
Implements java. Cancels this |
| public final void | clearBatch()
Implements java. Empties this |
| public final void | clearWarnings()
Implements java. Clears all the warnings reported on this |
| public final void | close()
Implements java. Releases this |
| public final void | closeOnCompletion()
Implements java. Specifies that this |
| private void | |
| public void | |
| public final String | enquoteIdentifier(String
a SQL identifier a, boolean indicates if a simple SQL identifier should be
returned as a quoted identifier b)Overrides default java. Returns a SQL identifier. |
| public final String | enquoteLiteral(String
a character string a)Overrides default java. Returns a |
| public final String | enquoteNCharLiteral(String
a character string a)Overrides default java. Returns a |
| public final boolean | execute(String
any SQL statement a)Implements java. Executes the given SQL statement, which may return multiple results. |
| public final boolean | execute(String
any SQL statement a, int a constant indicating whether auto-generated
keys should be made available for retrieval using the method
b)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 a, 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 b)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 a, 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 b)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 final long[] | executeLargeBatch()
Overrides default java. Submits a batch of commands to the database for execution and if all commands execute successfully, returns an array of update counts. |
| public final long | executeLargeUpdate(String
an SQL Data Manipulation Language (DML) statement,
such as a)INSERT, UPDATE or
DELETE; or an SQL statement that returns nothing,
such as a DDL statement.Overrides default java. Executes the given SQL statement, which may be an |
| public final long | executeLargeUpdate(String
an SQL Data Manipulation Language (DML) statement,
such as a, 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:
b)Statement.RETURN_GENERATED_KEYS
Statement.NO_GENERATED_KEYSOverrides default 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 long | executeLargeUpdate(String
an SQL Data Manipulation Language (DML) statement,
such as a, 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 b)Overrides default 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 long | executeLargeUpdate(String
an SQL Data Manipulation Language (DML) statement,
such as a, 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 b)Overrides default 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 ResultSet | executeQuery(String
an SQL statement to be sent to the database, typically a
static SQL a)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 a, 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:
b)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 a, 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 b)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 a)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 a, 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 b)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 | getGeneratedKeys()
Implements java. Retrieves any auto-generated keys created as a result of executing this
|
| public final long | getLargeMaxRows()
Overrides default java. Retrieves the maximum number of rows that a
|
| public final long | getLargeUpdateCount()
Overrides default java. 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 | getMoreResults()
Implements java. Moves to this |
| public final boolean | getMoreResults(int
one of the following a)Statement
constants indicating what should happen to current
ResultSet objects obtained using the method
getResultSet:
Statement.CLOSE_CURRENT_RESULT,
Statement.KEEP_CURRENT_RESULT, or
Statement.CLOSE_ALL_RESULTSImplements java. Moves to this |
| public final int | getQueryTimeout()
Implements java. Retrieves the number of seconds the driver will
wait for a |
| public final ResultSet | getResultSet()
Implements java. Retrieves the current result as a |
| public final int | getResultSetConcurrency()
Implements java. Retrieves the result set concurrency for |
| public final int | getResultSetHoldability()
Implements java. Retrieves the result set holdability for |
| public final int | getResultSetType()
Implements java. Retrieves the result set type for |
| public final int | getUpdateCount()
Implements java. Retrieves the current result as an update count;
if the result is a |
| public final SQLWarning | getWarnings()
Implements java. Retrieves the first warning reported by calls on this |
| public final boolean | isClosed()
Implements java. Retrieves whether this |
| public final boolean | isCloseOnCompletion()
Implements java. Returns a value indicating whether this |
| pack-priv boolean | |
| public final boolean | isPoolable()
Implements java. Returns a value indicating whether the |
| public final boolean | isSimpleIdentifier(String
a SQL identifier a)Overrides default java. Retrieves whether |
| public final boolean | isWrapperFor(Class<T>
a Class defining an interface. a)Implements java. Returns true if this either implements the interface argument or is directly or indirectly a wrapper for an object that does. |
| private boolean | |
| private boolean | |
| pack-priv void | |
| public Object | rawStatementOperation(Method m, Object target, Object[] args)
Implements com. Allows one to work with the unproxied, raw vendor-provided Statement . |
| public final void | setCursorName(String
the new cursor name, which must be unique within
a connection a)Implements java. Sets the SQL cursor name to the given |
| public final void | setEscapeProcessing(boolean
true to enable escape processing;
false to disable itImplements java. Sets escape processing on or off. |
| public final void | setFetchDirection(int
the initial direction for processing rows a)Implements java. Gives the driver a hint as to the direction in which
rows will be processed in |
| public final void | setFetchSize(int
the number of rows to fetch a)Implements java. Gives the JDBC driver a hint as to the number of rows that should
be fetched from the database when more rows are needed for
|
| public final void | setLargeMaxRows(long
the new max rows limit; zero means there is no limit a)Overrides default java. Sets the limit for the maximum number of rows that any
|
| public final void | setMaxFieldSize(int
the new column size limit in bytes; zero means there is no limit a)Implements java. Sets the limit for the maximum number of bytes that can be returned for
character and binary column values in a |
| public final void | setMaxRows(int
the new max rows limit; zero means there is no limit a)Implements java. Sets the limit for the maximum number of rows that any
|
| public final void | setPoolable(boolean
requests that the statement be pooled if true and
that the statement not be pooled if false a)Implements java. Requests that a |
| public final void | setQueryTimeout(int
the new query timeout limit in seconds; zero means
there is no limit a)Implements java. Sets the number of seconds the driver will wait for a
|
| public String | |
| public final Object | unwrap(Class<T>
A Class defining an interface that the result must implement. a)Implements java. Returns an object that implements the given interface to allow access to non-standard methods, or standard methods not exposed by the proxy. |