Transactions, Spring.
MysqlXADataSource(); mysqlXaDataSource.setUrl("jdbc:mysql://127.0.0.1:3306/test"); AtomikosDataSourceBean xaDataSource = new AtomikosDataSourceBean(); xaDataSource.setXaDataSource(mysqlXaDataSource); xaDataSource.setUniqueResourceName("xads"); return xaDataSource; } Here again, we are wrapping the