|
BEA Systems, Inc. | |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Contains methods to interact with the Statement Cache
Method Summary | |
boolean |
clearCallableStatement(String sql)
Clears a callable statement from the Statement Cache |
boolean |
clearCallableStatement(String sql,
int resType,
int resConcurrency)
Clears a callable statement from the Statement Cache |
boolean |
clearPreparedStatement(String sql)
Clears a prepared statement from the Statement Cache |
boolean |
clearPreparedStatement(String sql,
int resType,
int resConcurrency)
Clears a prepared statement from the Statement Cache |
void |
clearStatementCache()
Clears the statement cache. |
String |
getPoolName()
Returns the name of the connection pool to which this connection belongs to. |
Connection |
getVendorConnection()
Returns the underlying physical connection (the vendor connection) from a pooled database connection (a logical connection). |
void |
setFailed()
Force this connection to be destroyed by connection pool |
Method Detail |
public boolean clearCallableStatement(String sql) throws SQLException
sql
- - an SQL statement that may contain one or more '?' parameter
placeholders. Typically this statement is a JDBC function call
escape string.
SQLException
- - if a database access error occurspublic boolean clearCallableStatement(String sql, int resType, int resConcurrency) throws SQLException
sql
- - an SQL statement that may contain one or more '?' parameter
placeholders. Typically this statement is a JDBC function call
escape string.
SQLException
- - if a database access error occurspublic boolean clearPreparedStatement(String sql) throws SQLException
sql
- - an SQL statement that may contain one or more '?'
IN parameter placeholders
SQLException
- - if a database access error occurspublic boolean clearPreparedStatement(String sql, int resType, int resConcurrency) throws SQLException
sql
- - an SQL statement that may contain one or more '?'
IN parameter placeholders
SQLException
- - if a database access error occurspublic void clearStatementCache() throws SQLException
SQLException
- - if a database access error occurspublic String getPoolName()
public Connection getVendorConnection() throws SQLException
SQLException
- - if a database access error occurspublic void setFailed() throws SQLException
SQLException
- - if a connection pool error happen
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs90 Copyright 2005 BEA Systems Inc. |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |