Commits a transaction given a login and a transaction id.
Parameters: nbToComplete - number of threads that must succeed before returning Parameters: totalNb - total number of threads Parameters: tm - transaction metadata throws: NullPointerException - if tm is null
Commits a transaction with the given backend thread.
Parameters: backendThread - the backend thread that will execute the task throws: SQLException - if an error occurs