|
BEA Systems, Inc. | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--weblogic.jdbcbase.t3.Connection
|
+--weblogic.jdbc20.t3.Connection
This class contains WebLogic extensions to JDBC that are used to get and set the cacheRow property on a Connection. Only those methods are included here.
| Fields inherited from class weblogic.jdbcbase.t3.Connection |
dbmetadata,
isp,
ispLock,
numsep,
state,
t3 |
| Constructor Summary | |
Connection()
|
|
| Method Summary | |
int |
cacheRows()
Returns the current value of the Connection property "weblogic.t3.cacheRows". |
void |
cacheRows(int rows)
Sets the value of the Connection property "weblogic.t3.cacheRows". |
void |
refresh()
Refreshes a JDBC connection from a connection pool. |
void |
waitOnResources(boolean enable)
This is a new extension to Connection for Oracle connections only. |
| Methods inherited from class weblogic.jdbcbase.t3.Connection |
checkIfClosed,
clearWarnings,
close,
commit,
executeClassName,
executeRequest,
executeRequest,
getAutoCommit,
getCatalog,
getDescription,
getMetaData,
getMsg,
getName,
getTransactionIsolation,
getWarnings,
initEvents,
isClosed,
isReadOnly,
nativeSQL,
oracleI18nSetup,
rollback,
setAutoCommit,
setCatalog,
setDescription,
setName,
setReadOnly,
setTransactionIsolation |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Constructor Detail |
public Connection()
| Method Detail |
public int cacheRows()
public void cacheRows(int rows)
throws java.sql.SQLException
rows - Number of rows to be cached
public void refresh()
throws java.sql.SQLException
((weblogic.jdbc.t3.Connection)conn).refresh();You should use this method after catching a SQLException that indicates that the JDBC connection is no longer functioning. To test the viability of a connection, attempt to execute a statement that cannot fail; for example, in Oracle, you might execute the SQL statement "select 1 from dual".
public void waitOnResources(boolean enable)
throws java.sql.SQLException
|
Documentation is available at http://www.weblogic.com/docs51 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||