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

E13403-04

oracle.javatools.db.execute
Class StatementWrapper.ExecutionRunnable<T>

java.lang.Object
  extended by oracle.javatools.db.execute.StatementWrapper.ExecutionRunnable<T>
All Implemented Interfaces:
java.lang.Runnable
Enclosing class:
StatementWrapper

public abstract class StatementWrapper.ExecutionRunnable<T>
extends java.lang.Object
implements java.lang.Runnable

Runnable implementation that wraps the execution of a statement or query.


Constructor Summary
StatementWrapper.ExecutionRunnable()
           
 
Method Summary
 void cancel()
           
 java.lang.String getLogText()
          Gets a loggable text containing the query, bind and timing information.
 java.lang.String getName()
           
 T getResult()
           
 void run()
           
abstract  T runImpl()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StatementWrapper.ExecutionRunnable

public StatementWrapper.ExecutionRunnable()
Method Detail

run

public void run()
Specified by:
run in interface java.lang.Runnable

runImpl

public abstract T runImpl()
                   throws DBException
Throws:
DBException

getResult

public T getResult()
            throws DBException
Throws:
DBException

getName

public java.lang.String getName()

getLogText

public java.lang.String getLogText()
Gets a loggable text containing the query, bind and timing information.


cancel

public void cancel()
            throws java.sql.SQLException
Throws:
java.sql.SQLException

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

E13403-04

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