Executes a SQLTask run() method giving a live JDBC connection to it.
The SQLTask run() method should not close the connection, the connection will
be recycled by the SQLExecutorImpl.
If using a transaction and the transaction is not committed
within the SQLTask run() method, the transaction will be rolled back by
the SQLExecutorImpl.
Parameters: task - SQLTask to invoke the run() method. throws: java.sql.SQLException - thrown if there uncaught SQLException in the SQLTask run() method or ifthe JDBC connection could not be recycled properly. |