XA transaction example with Ballerina — Oracle and MySQL as resource managers
Published in
1 min readAug 13, 2018
Let’s write a Ballerina program that demonstrates performing an XA transaction.
We have two resource managers, a mysql database and an Oracle database. Here we have two functions to demonstrate a successful transaction and a failing one.
Here goes the program!