|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.2.0) E17493-03 |
|||||||||
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<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.SQLCallable
ConnectionWrapper.SQLCallable.getConnection()
to get the Connection to usecall
in class ConnectionWrapper.SQLCallable<java.lang.Object>
java.sql.SQLException
- thrown from any operation on the ConnectionDBException
public abstract void run() throws java.sql.SQLException, DBException
ConnectionWrapper.SQLCallable.getConnection()
to get the Connection to usejava.sql.SQLException
- thrown from any operation on the ConnectionDBException
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.2.0) E17493-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |