|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.9.0) E52944-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
oracle.javatools.db.execute.ConnectionWrapper.SQLCallable<T>
public abstract class ConnectionWrapper.SQLCallable<T>
Callable class that can throw a SQLException from its call method. A getConnection() method is provided that will not reconnect if the Database implementation supports identification of "connection closed" exceptions.
| Constructor Summary | |
|---|---|
protected |
ConnectionWrapper.SQLCallable() |
| Method Summary | |
|---|---|
abstract T |
call()Implementations should: Exclusively use getConnection() to get the Connection to use Not explictly close the Connection |
protected java.sql.Connection |
getConnection()Gets the Connection that the callable should operate on. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected ConnectionWrapper.SQLCallable()
| Method Detail |
|---|
public abstract T call()
throws java.sql.SQLException,
DBException
getConnection() to get the Connection to usejava.sql.SQLException - thrown from any operation on the ConnectionDBExceptionprotected final java.sql.Connection getConnection()
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.9.0) E52944-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||