[server] Update transactions' category in one SQL transaction, instead of...
[server] Update transactions' category in one SQL transaction, instead of doing it transaction by transaction. Fix #1037 (closed).
This MR allows to update all the transactions with a given category at once, when this category is deleted (and maybe replaced).