Use a configuration parameter to enable XAConnection instead of relying on connection factory instance.