|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.4.0) E13403-05 |
|||||||||
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<T>
public abstract class ConnectionWrapper.SQLCallable<T>
Callable class that can throw a SQLException from its call method. A getConnection() method is provided that will not reconnect if the Database implementation supports identification of "connection closed" exceptions.
Constructor Summary | |
---|---|
ConnectionWrapper.SQLCallable()
|
Method Summary | |
---|---|
abstract T |
call()
Implementations should: Exclusively use getConnection() to get the Connection
to use
Not explictly close the Connection |
protected java.sql.Connection |
getConnection()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConnectionWrapper.SQLCallable()
Method Detail |
---|
public abstract T call() throws java.sql.SQLException, DBException
getConnection()
to get the Connection
to use
java.sql.SQLException
- thrown from any operation on the Connection
DBException
protected final java.sql.Connection getConnection()
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.4.0) E13403-05 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |