Follow the approach in PR #68 (PostgreSQL XA support) to add XA (distributed transaction) support for MariaDB in the integration test suite.
What to do:
- Update the
XADataSourceFactory to fully implement createMariaDBXADataSource (see how it's done for PostgreSQL in the PR)
- Update MariaDB integration tests: parameterize with both
isXA=false and isXA=true in the relevant CSV files and test classes, as done for PostgreSQL
- Ensure tests use
TestDBUtils.createConnection() to properly handle XA
- Validate XA functionality by running the tests in both JDBC and XA modes
References:
Keep the issue focused on MariaDB only. Use the links above for detailed instructions and examples.
Follow the approach in PR #68 (PostgreSQL XA support) to add XA (distributed transaction) support for MariaDB in the integration test suite.
What to do:
XADataSourceFactoryto fully implementcreateMariaDBXADataSource(see how it's done for PostgreSQL in the PR)isXA=falseandisXA=truein the relevant CSV files and test classes, as done for PostgreSQLTestDBUtils.createConnection()to properly handle XAReferences:
Keep the issue focused on MariaDB only. Use the links above for detailed instructions and examples.