Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.5.0)

E13403-06


oracle.javatools.db.execute
Class ConnectionWrapper.SQLRunnable

java.lang.Object
  extended by oracle.javatools.db.execute.ConnectionWrapper.SQLCallable<java.lang.Object>
      extended by oracle.javatools.db.execute.ConnectionWrapper.SQLRunnable

Enclosing class:
ConnectionWrapper

public abstract class ConnectionWrapper.SQLRunnable
extends ConnectionWrapper.SQLCallable<java.lang.Object>

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

ConnectionWrapper.SQLRunnable

public ConnectionWrapper.SQLRunnable()

Method Detail

call

public final java.lang.Object call()
                            throws java.sql.SQLException,
                                   DBException
Description copied from class: ConnectionWrapper.SQLCallable
Implementations should:
Specified by:
call in class ConnectionWrapper.SQLCallable<java.lang.Object>
Throws:
java.sql.SQLException - thrown from any operation on the Connection
DBException

run

public abstract void run()
                  throws java.sql.SQLException,
                         DBException
Implementations should:
Throws:
java.sql.SQLException - thrown from any operation on the Connection
DBException

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.5.0)

E13403-06


Copyright © 1997, 2011, Oracle. All rights reserved.