public <T> Future<T> submitTransaction(SQLCallable<T> callable){
        return this.submitTaskToQueue(new SQLQueueCallable<T>(db, callable, true));
    }
public < T > Future < T > submitTransaction ( SQLCallable < T > callable ) { return this . submitTaskToQueue ( new SQLQueueCallable < T > ( db , callable , true ) ) ; }
Submits a database task for execution in a transaction
@param callable The task to be performed
@param <T> The type of object that is returned from the task
@throws RejectedExecutionException thrown when the queue has been shutdown
@return Future representing the task to be executed.