public abstract class ConnectionWrapper.SQLRunnable extends ConnectionWrapper.SQLCallable<java.lang.Object>
| Constructor and Description |
|---|
SQLRunnable() |
| Modifier and Type | Method and Description |
|---|---|
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 |
getConnectionpublic final java.lang.Object call()
throws java.sql.SQLException,
DBException
ConnectionWrapper.SQLCallableConnectionWrapper.SQLCallable.getConnection() to get the Connection
to usecall in class ConnectionWrapper.SQLCallable<java.lang.Object>java.sql.SQLException - thrown from any operation on the ConnectionDBExceptionpublic abstract void run()
throws java.sql.SQLException,
DBException
ConnectionWrapper.SQLCallable.getConnection() to get the Connection
to usejava.sql.SQLException - thrown from any operation on the ConnectionDBException