The SQLExecutor encapsulates execution of JDBC operations using the command pattern.
JDBC operations should be done within the run() method of a SQLTask implementation using
the JDBC connection passed as parameter.
When the SQLExecutor execute(SQLTask) method is invoked, it invokes the SQLTask run(Connection)
method with a live JDBC connection. |