public abstract class ConnectionWrapper.SQLCallable<T>
extends java.lang.Object
| Modifier | Constructor and Description |
|---|---|
protected |
SQLCallable() |
| Modifier and Type | Method and Description |
|---|---|
abstract T |
call()
Implementations should:
Exclusively use
getConnection() to get the Connection
to use
Not explictly close the Connection |
protected java.sql.Connection |
getConnection()
Gets the Connection that the callable should operate on.
|
public abstract T call() throws java.sql.SQLException, DBException
getConnection() to get the Connection
to usejava.sql.SQLException - thrown from any operation on the ConnectionDBExceptionprotected final java.sql.Connection getConnection()