|
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 | |
void |
clearCallableStatement(java.lang.String sql)
Clear a callable statement from the Statement Cache |
void |
clearCallableStatement(java.lang.String sql,
int resType,
int resConcurrency)
Clear a callable statement from the Statement Cache |
void |
clearPreparedStatement(java.lang.String sql)
Clear a prepared statement from the Statement Cache |
void |
clearPreparedStatement(java.lang.String sql,
int resType,
int resConcurrency)
Clear a prepared statement from the Statement Cache |
void |
clearStatementCache()
Clears the statement cache. |
java.sql.Connection |
getVendorConnection()
Returns vendor connection |
Method Detail |
public void clearStatementCache() throws java.sql.SQLException
public java.sql.Connection getVendorConnection() throws java.sql.SQLException
public void 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 void 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 void clearPreparedStatement(java.lang.String sql) throws java.sql.SQLException
sql
- - an SQL statement that may contain one or more '?'
IN parameter placeholderspublic void 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_UPDATABLE
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs81b |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |