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