|
BEA Systems, Inc. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Contains methods to interact with the Statement Cache
Method Summary | |
boolean |
clearCallableStatement(java.lang.String sql)
Clears a callable statement from the Statement Cache |
boolean |
clearCallableStatement(java.lang.String sql,
int resType,
int resConcurrency)
Clears a callable statement from the Statement Cache |
boolean |
clearPreparedStatement(java.lang.String sql)
Clears a prepared statement from the Statement Cache |
boolean |
clearPreparedStatement(java.lang.String sql,
int resType,
int resConcurrency)
Clears a prepared statement from the Statement Cache |
void |
clearStatementCache()
Clears the statement cache. |
java.lang.String |
getPoolName()
Returns the name of the connection pool to which this connection belongs to. |
java.sql.Connection |
getVendorConnection()
Returns the underlying physical connection (the vendor connection) from a pooled database connection (a logical connection). |
Method Detail |
public void clearStatementCache() throws java.sql.SQLException
public java.sql.Connection getVendorConnection() throws java.sql.SQLException
public boolean clearCallableStatement(java.lang.String sql) throws java.sql.SQLException
sql
- - an SQL statement that may contain one or more '?' parameter
placeholders. Typically this statement is a JDBC function call
escape string.public boolean clearCallableStatement(java.lang.String sql, int resType, int resConcurrency) throws java.sql.SQLException
sql
- - an SQL statement that may contain one or more '?' parameter
placeholders. Typically this statement is a JDBC function call
escape string.resSetType
- - a result set type; one of
ResultSet.TYPE_FORWARD_ONLY, ResultSet.TYPE_SCROLL_INSENSITIVE,
or ResultSet.TYPE_SCROLL_SENSITIVEresSetConcurrency
- - a concurrency type; one of
ResultSet.CONCUR_READ_ONLY or ResultSet.CONCUR_UPDATABLEpublic boolean clearPreparedStatement(java.lang.String sql) throws java.sql.SQLException
sql
- - an SQL statement that may contain one or more '?'
IN parameter placeholderspublic boolean clearPreparedStatement(java.lang.String sql, int resType, int resConcurrency) throws java.sql.SQLException
sql
- - an SQL statement that may contain one or more '?'
IN parameter placeholdersresSetType
- - a result set type; one of
ResultSet.TYPE_FORWARD_ONLY, ResultSet.TYPE_SCROLL_INSENSITIVE,
or ResultSet.TYPE_SCROLL_SENSITIVEresSetConcurrency
- - a concurrency type; one of
ResultSet.CONCUR_READ_ONLY or ResultSet.CONCUR_UPDATABLEpublic java.lang.String getPoolName()
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs81 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |