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

E13403-07

oracle.javatools.db.execute
Class StatementWrapper.ExecutionProxy

java.lang.Object
  extended by oracle.javatools.db.execute.StatementWrapper.ExecutionProxy
Enclosing class:
StatementWrapper

public abstract static class StatementWrapper.ExecutionProxy
extends java.lang.Object

Allows a proxy to be registered against all queries to wrap the execution of any sql against the database.


Constructor Summary
StatementWrapper.ExecutionProxy()
           
 
Method Summary
abstract
<T> T
execute(StatementWrapper.ExecutionRunnable<T> r)
          Execute the given Runnable in whatever manner necessary (e.g.
 void setCancelling(boolean cancel)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StatementWrapper.ExecutionProxy

public StatementWrapper.ExecutionProxy()
Method Detail

setCancelling

public final void setCancelling(boolean cancel)

execute

public abstract <T> T execute(StatementWrapper.ExecutionRunnable<T> r)
                   throws DBException
Execute the given Runnable in whatever manner necessary (e.g. in a progress bar thread).

Throws:
java.sql.SQLException - if the execution throw a SQLException
DBException

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

E13403-07

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