clearCallableStatement

sql - - an SQL statement that may contain one or more '?' parameter
placeholders. Typically this statement is a JDBC function call
escape string.

Returns:

true - statement found and removed from cache
false - statement not found in cache. This is not always
an erroneous condition as it can happen if statement
caching is diabled, or the statement got ejected from
the cache to make space for another.

clearCallableStatement

sql - - an SQL statement that may contain one or more '?' parameter
placeholders. Typically this statement is a JDBC function call
escape string.

resType - - a result set type; one of
ResultSet.TYPE_FORWARD_ONLY, ResultSet.TYPE_SCROLL_INSENSITIVE,
or ResultSet.TYPE_SCROLL_SENSITIVE

resConcurrency - - a concurrency type; one of
ResultSet.CONCUR_READ_ONLY or ResultSet.CONCUR_UPDATABLE

Returns:

true - statement found and removed from cache
false - statement not found in cache. This is not always
an erroneous condition as it can happen if statement
caching is diabled, or the statement got ejected from
the cache to make space for another.

clearPreparedStatement

sql - - an SQL statement that may contain one or more '?'
IN parameter placeholders

Returns:

true - statement found and removed from cache
false - statement not found in cache. This is not always
an erroneous condition as it can happen if statement
caching is diabled, or the statement got ejected from
the cache to make space for another.

clearPreparedStatement

sql - - an SQL statement that may contain one or more '?'
IN parameter placeholders

resType - - a result set type; one of
ResultSet.TYPE_FORWARD_ONLY, ResultSet.TYPE_SCROLL_INSENSITIVE,
or ResultSet.TYPE_SCROLL_SENSITIVE

resConcurrency - - a concurrency type; one of
ResultSet.CONCUR_READ_ONLY or ResultSet.CONCUR_UPDATABLE

Returns:

true - statement found and removed from cache
false - statement not found in cache. This is not always
an erroneous condition as it can happen if statement
caching is diabled, or the statement got ejected from
the cache to make space for another.

isValid

getVendorConnectionSafe

Returns the underlying physical connection (the vendor connection) from a pooled
database connection (a logical connection).
When the connection is closed, it is returned to the pool, independent
of the setting of Remove Infected Connections Enabled.

applyConnectionLabel

Applies connection labels on a borrowed connection while the
connection is open. Applying connection labels is cumulative;
the supplied key/value pair is added to those connection labels
already applied each time this method is called. However, for each
particular label key, only the last applied value is retained.
Applying connection labels on a closed connection throws a
UniversalConnectionPoolException.

Copyright 1996, 2011, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.