Skip navigation links
oracle.javatools.db.execute
Class ConnectionWrapper.SQLRunnable
java.lang.Object
oracle.javatools.db.execute.ConnectionWrapper.SQLCallable<java.lang.Object>
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConnectionWrapper.SQLRunnable
public ConnectionWrapper.SQLRunnable()
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
Copyright © 1997, 2011, Oracle. All rights reserved.