[IGN-3829] Error executing system.db.commitTransaction

If you’re going to omit the database argument (and use the project default database, which is perfectly fine), you’ll probably want to use keyword arguments. It is interpreting the first argument as the database connection name.

Try:

...
self.tx = system.db.beginNamedQueryTransaction(isolationLevel=self.isolationLevel, timeout=self.timeout)
...