code: @SneakyThrows
      public static XADataSource build(final DatabaseType databaseType, final DataSource dataSource) {
          XADataSource result = createXADataSource(databaseType);
          Properties xaProperties = XAPropertiesFactory.createXAProperties(databaseType).build(SWAPPER.swap(dataSource));
          PropertyUtils.setProperties(result, xaProperties);
          return result;
      }
docs: Create XA data source through general data source.
  
  @param databaseType database type
  @param dataSource data source
  @return XA data source