Distributed transactions: https://mariadb.com/kb/en/mariadb/xa-transactions/
Stored procedures: https://mariadb.com/kb/en/mariadb/stored-procedures/
It is not clear how "XA START" maps into each server.
Am I supposed to manually mess around with text ids?
Nice to see stored procedures are supported, but they seem pretty basic in language features when compared with PL/SQL or Transact SQL.
I guess MariaDB JDBC driver already has two phase commit logic, because MySql has it for decade. It is enough for distributed transactions in "heterogeneous database schemas".